Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.000772/0.000772, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0008854/0.0008854, allocations: 168.6 kB / 24.99 MB, free: 8.871 MB / 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 0.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.782e-05, allocations: 2.312 kB / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006549/0.006567, allocations: 2.83 MB / 275.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.01072, allocations: 0.7787 MB / 276.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.01085, allocations: 4 kB / 276.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.01105, allocations: 59.44 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.01129, allocations: 99.19 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.01152, allocations: 115.7 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.01186, allocations: 402.3 kB / 277.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.01203, allocations: 91.33 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.01237, allocations: 239.4 kB / 277.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.01253, allocations: 127.6 kB / 277.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.01257, allocations: 32 kB / 277.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.01261, allocations: 32 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.01266, allocations: 75.73 kB / 277.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.01277, allocations: 127.7 kB / 278 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.01305, allocations: 255 kB / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01305, allocations: 3.938 kB / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01305, allocations: 0 / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.01305, allocations: 0 / 278.3 MB, free: 12.59 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003981/0.01703, allocations: 0.6674 MB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01707, allocations: 15.97 kB / 279 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.01716, allocations: 60.7 kB / 279 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.01743, allocations: 220.9 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.01746, allocations: 25.03 kB / 279.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.01751, allocations: 32.38 kB / 279.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.01789, allocations: 227.3 kB / 279.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.0179, allocations: 192 / 279.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.01793, allocations: 12.38 kB / 279.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01794, allocations: 15.94 kB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.01819, allocations: 127.8 kB / 279.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.02238, allocations: 0.9057 MB / 280.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.02259, allocations: 99.05 kB / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.02266, allocations: 51.56 kB / 280.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.02268, allocations: 4 kB / 280.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.02271, allocations: 33.39 kB / 280.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.02271, allocations: 0 / 280.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001003/0.02371, allocations: 426.3 kB / 281.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.02374, allocations: 55.41 kB / 281.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.024, allocations: 312.1 kB / 281.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.02403, allocations: 29.7 kB / 281.6 MB, free: 9.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02418, allocations: 282.8 kB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.02424, allocations: 75.38 kB / 281.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.02433, allocations: 71.31 kB / 282 MB, free: 8.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.02446, allocations: 0.5156 MB / 282.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.02455, allocations: 35.97 kB / 282.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.02472, allocations: 175.8 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.02498, allocations: 240.8 kB / 282.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02498, allocations: 4 kB / 283 MB, free: 7.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004536/0.02543, allocations: 306.7 kB / 283.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.02545, allocations: 10.59 kB / 283.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02546, allocations: 4.406 kB / 283.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.0258, allocations: 79.3 kB / 283.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.02601, allocations: 67.91 kB / 283.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.02774, allocations: 3.531 MB / 286.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.02785, allocations: 12 kB / 287 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.02786, allocations: 16 kB / 287 MB, free: 3.277 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 (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.0001126/0.02798, allocations: 192.4 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.02801, allocations: 31.81 kB / 287.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.02805, allocations: 38.2 kB / 287.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.02806, allocations: 4 kB / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02806, allocations: 0 / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.02807, allocations: 0 / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.02827, allocations: 224.7 kB / 287.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.02827, allocations: 3.984 kB / 287.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.02836, allocations: 35.98 kB / 287.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.02855, allocations: 75.3 kB / 287.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.02857, allocations: 11.92 kB / 287.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.02989, allocations: 3.524 MB / 291.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.02989, allocations: 3.938 kB / 291.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.03016, allocations: 341.9 kB / 291.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.03019, allocations: 23.81 kB / 291.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.0302, allocations: 4 kB / 291.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.03028, allocations: 11.98 kB / 291.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.03034, allocations: 23.97 kB / 291.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.03034, allocations: 4 kB / 291.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.03046, allocations: 213.1 kB / 291.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03046, allocations: 0 / 291.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.03071, allocations: 72 kB / 291.8 MB, free: 14.14 MB / 282.7 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 9.19e-05/0.03081, allocations: 99.25 kB / 291.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.03126, allocations: 0.4911 MB / 292.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03127, allocations: 0 / 292.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.03162, allocations: 423.2 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.03187, allocations: 29.31 kB / 292.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.03278, allocations: 0.5359 MB / 293.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.03284, allocations: 92.31 kB / 293.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.03292, allocations: 30.36 kB / 293.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.03298, allocations: 20.5 kB / 293.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.03298, allocations: 0 / 293.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Templates: time 0.004877/0.03785, allocations: 2.818 MB / 296.3 MB, free: 9.523 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/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.8621598321478814]