Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001277/0.001277, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001352/0.001352, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.449/1.449, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 53.32 MB / 427.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004506/0.116, allocations: 2.867 MB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1174, allocations: 0.7944 MB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1176, allocations: 12 kB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1178, allocations: 63.44 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1181, allocations: 111 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1183, allocations: 107.9 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1188, allocations: 406.4 kB / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.119, allocations: 94.92 kB / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2481/0.3671, allocations: 153.1 kB / 431.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.3674, allocations: 179 kB / 431.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.3675, allocations: 34.03 kB / 431.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.3675, allocations: 33.47 kB / 432 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3676, allocations: 80.42 kB / 432.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.3678, allocations: 178.4 kB / 432.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.3684, allocations: 406.7 kB / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3684, allocations: 1.719 kB / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3684, allocations: 0.9375 kB / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3684, allocations: 0 / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001192/0.3696, allocations: 0.6593 MB / 433.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3696, allocations: 10.56 kB / 433.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.3697, allocations: 40.27 kB / 433.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.3701, allocations: 279.2 kB / 433.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3701, allocations: 26.59 kB / 433.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.3702, allocations: 29.5 kB / 433.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.3707, allocations: 292.4 kB / 434 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3707, allocations: 3.938 kB / 434 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3707, allocations: 15.62 kB / 434 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3707, allocations: 12.28 kB / 434 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.3713, allocations: 251.1 kB / 434.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.3728, allocations: 1.112 MB / 435.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.3732, allocations: 140.1 kB / 435.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3734, allocations: 68.45 kB / 435.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3735, allocations: 2.906 kB / 435.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3735, allocations: 39.34 kB / 435.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.3735, allocations: 3.938 kB / 435.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002172/0.3757, allocations: 0.6013 MB / 436.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.3757, allocations: 55.77 kB / 436.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.376, allocations: 281.6 kB / 436.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.376, allocations: 27.94 kB / 436.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3761, allocations: 231.2 kB / 436.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.3762, allocations: 85.41 kB / 436.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.3763, allocations: 63.66 kB / 436.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.3763, allocations: 342.2 kB / 437.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3766, allocations: 94.72 kB / 437.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.377, allocations: 199 kB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.3776, allocations: 307.9 kB / 437.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3776, allocations: 2.625 kB / 437.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009712/0.3786, allocations: 396.5 kB / 438.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3786, allocations: 7.609 kB / 438.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3786, allocations: 2.469 kB / 438.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.3789, allocations: 64.31 kB / 438.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3792, allocations: 75.11 kB / 438.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.3807, allocations: 2.839 MB / 441.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.381, allocations: 18.83 kB / 441.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3811, allocations: 15.44 kB / 441.2 MB, free: 2.75 MB / 350.1 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 (37): * Single equations (assignments): 35 * 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.0001564/0.3812, allocations: 149.3 kB / 441.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3813, allocations: 35.16 kB / 441.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.3813, allocations: 32.45 kB / 441.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3813, allocations: 2.219 kB / 441.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3813, allocations: 1.031 kB / 441.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3813, allocations: 2.469 kB / 441.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.3817, allocations: 335.2 kB / 441.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3817, allocations: 0 / 441.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.3819, allocations: 42.55 kB / 441.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.3821, allocations: 61.72 kB / 441.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3821, allocations: 6.047 kB / 441.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.3836, allocations: 2.829 MB / 444.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3836, allocations: 7.25 kB / 444.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.3844, allocations: 376.5 kB / 445.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.3845, allocations: 106.4 kB / 445.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.3845, allocations: 1.062 kB / 445.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3847, allocations: 16.97 kB / 445.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.3848, allocations: 19.48 kB / 445.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3848, allocations: 9.094 kB / 445.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.3851, allocations: 198.9 kB / 445.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 445.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.3855, allocations: 76.31 kB / 445.5 MB, free: 14.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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.0001419/0.3857, allocations: 101.5 kB / 445.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3867, allocations: 482.3 kB / 446.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3867, allocations: 0.8125 kB / 446.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.3873, allocations: 344.5 kB / 446.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3876, allocations: 30.23 kB / 446.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3887, allocations: 0.5676 MB / 447 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.3892, allocations: 0.7734 MB / 447.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.3894, allocations: 30.69 kB / 447.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3894, allocations: 21.03 kB / 447.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3894, allocations: 0 / 447.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.007614/0.397, allocations: 2.872 MB / 450.7 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.4971199836581945]