Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 92.31 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.478e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008982/0.009007, allocations: 5.966 MB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.01356, allocations: 2.319 MB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.01393, allocations: 20 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004595/0.01853, allocations: 1.835 MB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.01994, allocations: 0.5587 MB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.02268, allocations: 1.257 MB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.02408, allocations: 1.152 MB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.02537, allocations: 0.8252 MB / 286.3 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009068/0.02627, allocations: 0.6976 MB / 287 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.02696, allocations: 478.6 kB / 287.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.02711, allocations: 104 kB / 287.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/0.02796, allocations: 435.3 kB / 288 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.0282, allocations: 247 kB / 288.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.02885, allocations: 391 kB / 288.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.108/0.1368, allocations: 1.716 MB / 290.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1368, allocations: 0 / 290.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1368, allocations: 0.5625 kB / 290.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.101e-05/0.1369, allocations: 0 / 290.3 MB, free: 17.55 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006681/0.1436, allocations: 1.962 MB / 292.3 MB, free: 17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1436, allocations: 11.47 kB / 292.3 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003767/0.1474, allocations: 0.717 MB / 293 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1477, allocations: 246.8 kB / 293.2 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.1478, allocations: 98.39 kB / 293.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.148, allocations: 129.8 kB / 293.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.1506, allocations: 1.324 MB / 294.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1506, allocations: 3.656 kB / 294.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.1508, allocations: 52.2 kB / 294.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.1508, allocations: 36.56 kB / 294.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.1532, allocations: 1.186 MB / 296.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.159, allocations: 3.38 MB / 299.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.1609, allocations: 1.149 MB / 300.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.1617, allocations: 450.9 kB / 301 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.1618, allocations: 49.77 kB / 301.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1619, allocations: 48.12 kB / 301.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.986e-06/0.1619, allocations: 0 / 301.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.009685/0.1716, allocations: 3.588 MB / 304.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1716, allocations: 90.33 kB / 304.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.1719, allocations: 390.1 kB / 305.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.172, allocations: 47.05 kB / 305.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.1721, allocations: 464.8 kB / 305.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.1723, allocations: 443.2 kB / 306.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.1726, allocations: 231.4 kB / 306.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.1727, allocations: 368.4 kB / 306.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009055/0.1736, allocations: 438.7 kB / 307.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009975/0.1746, allocations: 0.7115 MB / 307.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.1765, allocations: 1.179 MB / 309 MB, free: 10.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.1765, allocations: 2.656 kB / 309 MB, free: 10.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002654/0.1792, allocations: 1.522 MB / 310.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1792, allocations: 8 kB / 310.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1792, allocations: 8 kB / 310.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.1803, allocations: 281.9 kB / 310.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.1814, allocations: 293.7 kB / 311.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.1844, allocations: 4.076 MB / 315.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.1853, allocations: 84.02 kB / 315.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.1854, allocations: 55.98 kB / 315.3 MB, free: 4.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0003295/0.1857, allocations: 266.3 kB / 315.6 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1859, allocations: 109.8 kB / 315.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.1885, allocations: 1.327 MB / 317 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1885, allocations: 12 kB / 317 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1885, allocations: 4 kB / 317 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.1885, allocations: 6.938 kB / 317 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.1921, allocations: 2.201 MB / 319.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1921, allocations: 0 / 319.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.193, allocations: 218.4 kB / 319.5 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.1942, allocations: 245.2 kB / 319.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.1942, allocations: 27.98 kB / 319.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.1988, allocations: 3.913 MB / 323.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1988, allocations: 6.891 kB / 323.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/0.2034, allocations: 1.898 MB / 325.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.2038, allocations: 151.5 kB / 325.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.204, allocations: 31.45 kB / 325.7 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/0.2047, allocations: 55.95 kB / 325.8 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.2049, allocations: 96.88 kB / 325.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.205, allocations: 35.98 kB / 325.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003323/0.2053, allocations: 259.1 kB / 326.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2053, allocations: 0 / 326.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001183/0.2065, allocations: 300 kB / 326.5 MB, free: 8.953 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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.0003354/0.2068, allocations: 187.3 kB / 326.6 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.21, allocations: 1.387 MB / 328 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.21, allocations: 0 / 328 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.2117, allocations: 0.8151 MB / 328.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.2123, allocations: 81.47 kB / 328.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.2167, allocations: 1.859 MB / 330.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.2173, allocations: 420.1 kB / 331.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006207/0.2179, allocations: 138.6 kB / 331.3 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.2182, allocations: 80.47 kB / 331.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2182, allocations: 0 / 331.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of Templates: time 0.02182/0.24, allocations: 10.32 MB / 341.7 MB, free: 9.855 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.955376510042697]