Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.111e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008084/0.008115, allocations: 3.219 MB / 270.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.01089, allocations: 0.8918 MB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.01118, allocations: 8 kB / 271.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.01161, allocations: 95.09 kB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006776/0.01229, allocations: 166.6 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.01294, allocations: 171.7 kB / 271.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.01413, allocations: 0.6503 MB / 272.5 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.01455, allocations: 133.9 kB / 272.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.01539, allocations: 371.2 kB / 273 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.01587, allocations: 195.3 kB / 273.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.016, allocations: 52 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.01615, allocations: 52 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.01635, allocations: 127.5 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.01672, allocations: 195.5 kB / 273.6 MB, free: 384 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.01796, allocations: 0.6306 MB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.01797, allocations: 3.984 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01797, allocations: 0 / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.01798, allocations: 0 / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002546/0.02053, allocations: 0.7778 MB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.02058, allocations: 12.03 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.02086, allocations: 100.6 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.02176, allocations: 309.3 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.02184, allocations: 37.69 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.02198, allocations: 48.38 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.0235, allocations: 439 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.02352, allocations: 192 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.02361, allocations: 31.86 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.02363, allocations: 12 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.02526, allocations: 389 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.0295, allocations: 1.256 MB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.03073, allocations: 304.8 kB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.03144, allocations: 161.4 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-05/0.0315, allocations: 12.31 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.03155, allocations: 34.89 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/0.03155, allocations: 0 / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.005955/0.0375, allocations: 1.211 MB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.03759, allocations: 63.89 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.03841, allocations: 393.4 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.03847, allocations: 33.7 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.03886, allocations: 312.7 kB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.03916, allocations: 202.3 kB / 280.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.03947, allocations: 106.3 kB / 280.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003258/0.03979, allocations: 358.8 kB / 280.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/0.0406, allocations: 177.2 kB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/0.04157, allocations: 299 kB / 281.2 MB, free: 8.484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.04333, allocations: 0.4885 MB / 281.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.04333, allocations: 0 / 281.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002831/0.04616, allocations: 0.7676 MB / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.04619, allocations: 4 kB / 282.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.0462, allocations: 8.219 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.04823, allocations: 257.5 kB / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.0492, allocations: 119.7 kB / 282.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007962/0.05716, allocations: 4.001 MB / 286.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.05791, allocations: 31.97 kB / 286.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.05799, allocations: 20 kB / 286.9 MB, free: 2.535 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.05842, allocations: 185.6 kB / 287.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.05861, allocations: 63.72 kB / 287.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.05882, allocations: 60.97 kB / 287.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.05883, allocations: 4 kB / 287.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/0.05886, allocations: 4 kB / 287.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.05887, allocations: 3.984 kB / 287.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.06291, allocations: 1.141 MB / 288.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.06292, allocations: 4 kB / 288.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.06347, allocations: 72.02 kB / 288.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.06527, allocations: 237.5 kB / 288.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.06532, allocations: 15.98 kB / 288.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1216/0.1869, allocations: 3.828 MB / 292.5 MB, free: 29.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1869, allocations: 4.156 kB / 292.5 MB, free: 29.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.1885, allocations: 0.7015 MB / 293.2 MB, free: 29.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1886, allocations: 46.11 kB / 293.3 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.1887, allocations: 11.16 kB / 293.3 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.189, allocations: 28.83 kB / 293.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.1892, allocations: 50.72 kB / 293.4 MB, free: 29.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.1892, allocations: 14.38 kB / 293.4 MB, free: 29.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.1896, allocations: 266.3 kB / 293.7 MB, free: 29.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1896, allocations: 5.219 kB / 293.7 MB, free: 29.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007712/0.1903, allocations: 147.8 kB / 293.8 MB, free: 29.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.1905, allocations: 110.6 kB / 293.9 MB, free: 29.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.1922, allocations: 0.768 MB / 294.7 MB, free: 28.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1923, allocations: 1.094 kB / 294.7 MB, free: 28.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.1932, allocations: 0.5051 MB / 295.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1937, allocations: 47 kB / 295.2 MB, free: 28.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1957, allocations: 0.9569 MB / 296.2 MB, free: 27.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.196, allocations: 259.8 kB / 296.4 MB, free: 27.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.1962, allocations: 48.12 kB / 296.5 MB, free: 27.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1963, allocations: 32.05 kB / 296.5 MB, free: 27.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.753e-06/0.1963, allocations: 1.062 kB / 296.5 MB, free: 27.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01188/0.2082, allocations: 5.168 MB / 301.7 MB, free: 26.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.559497499954887]