Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8714/0.8714, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.618e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004531/0.004557, allocations: 5.004 MB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.007123, allocations: 2.086 MB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.007345, allocations: 19.94 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.008951, allocations: 1.47 MB / 281.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.009634, allocations: 441.1 kB / 281.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.01087, allocations: 1.168 MB / 283.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.01148, allocations: 0.7625 MB / 283.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.0121, allocations: 0.5714 MB / 284.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.01251, allocations: 490.9 kB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01279, allocations: 327.1 kB / 285.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.01287, allocations: 68 kB / 285.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005574/0.01342, allocations: 395.3 kB / 285.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.01351, allocations: 167.3 kB / 285.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.01367, allocations: 259.3 kB / 286.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.01444, allocations: 0.8993 MB / 287 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01444, allocations: 0 / 287 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01444, allocations: 0 / 287 MB, free: 3.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01445, allocations: 0 / 287 MB, free: 3.305 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002363/0.01681, allocations: 1.506 MB / 288.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01684, allocations: 15.98 kB / 288.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.01822, allocations: 0.492 MB / 289 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.01837, allocations: 200.3 kB / 289.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.01841, allocations: 62.31 kB / 289.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.0185, allocations: 88.36 kB / 289.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.01935, allocations: 0.7046 MB / 290.1 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.01937, allocations: 4.188 kB / 290.1 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.01942, allocations: 36.31 kB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.01944, allocations: 23.94 kB / 290.1 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09697/0.1164, allocations: 433.6 kB / 290.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.119, allocations: 2.297 MB / 292.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.1196, allocations: 425.7 kB / 293.3 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1198, allocations: 129.9 kB / 293.4 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.1198, allocations: 34.8 kB / 293.4 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1199, allocations: 43.77 kB / 293.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.294e-06/0.1199, allocations: 1.281 kB / 293.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002297/0.1222, allocations: 1.324 MB / 294.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.1222, allocations: 86.64 kB / 294.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1224, allocations: 356.6 kB / 295.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1224, allocations: 37.77 kB / 295.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1226, allocations: 424.1 kB / 295.7 MB, free: 17.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.1227, allocations: 215.6 kB / 295.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.1228, allocations: 161.7 kB / 296 MB, free: 16.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.1229, allocations: 0.5226 MB / 296.6 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1231, allocations: 120.1 kB / 296.7 MB, free: 16.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1234, allocations: 494.3 kB / 297.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.1239, allocations: 0.6243 MB / 297.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1239, allocations: 2.688 kB / 297.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008174/0.1247, allocations: 0.6529 MB / 298.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1248, allocations: 8.781 kB / 298.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1248, allocations: 8.469 kB / 298.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.1251, allocations: 92.08 kB / 298.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.1255, allocations: 184.2 kB / 298.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.1264, allocations: 3.545 MB / 302.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1267, allocations: 47.58 kB / 302.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.1267, allocations: 40.3 kB / 302.4 MB, free: 12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1269, allocations: 210.2 kB / 302.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.1269, allocations: 58.12 kB / 302.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.1276, allocations: 493.2 kB / 303.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1276, allocations: 5.406 kB / 303.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1276, allocations: 5.438 kB / 303.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1276, allocations: 3.656 kB / 303.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1287, allocations: 1.018 MB / 304.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1287, allocations: 1.125 kB / 304.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.129, allocations: 116.4 kB / 304.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.1292, allocations: 89.5 kB / 304.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.1292, allocations: 15.25 kB / 304.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007676/0.13, allocations: 3.539 MB / 307.9 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.13, allocations: 64 / 307.9 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.1308, allocations: 0.697 MB / 308.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1309, allocations: 90.66 kB / 308.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1309, allocations: 10.75 kB / 308.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1311, allocations: 28.75 kB / 308.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.1312, allocations: 45.05 kB / 308.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1312, allocations: 19.14 kB / 308.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1313, allocations: 223 kB / 309 MB, free: 7.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1313, allocations: 4.031 kB / 309 MB, free: 7.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.1318, allocations: 179.8 kB / 309.2 MB, free: 7.008 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.132, allocations: 157.4 kB / 309.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006999/0.1327, allocations: 0.7641 MB / 310.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1327, allocations: 0 / 310.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.133, allocations: 0.5367 MB / 310.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1333, allocations: 52.47 kB / 310.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1347, allocations: 1.096 MB / 311.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.1348, allocations: 141.2 kB / 311.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.135, allocations: 90.11 kB / 312 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1351, allocations: 50.64 kB / 312.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1351, allocations: 0 / 312.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of Templates: time 0.008072/0.1432, allocations: 7.044 MB / 319.1 MB, free: 1.859 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.769463595934212]