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.0009127/0.0009127, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002261, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009366/0.0009366, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002103, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9483/0.9483, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08348/1.032, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.723e-06/1.723e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.211e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003101/0.003123, allocations: 2.872 MB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.004043, allocations: 0.7979 MB / 248.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004159, allocations: 4 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.004285, allocations: 63.38 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.004437, allocations: 107.2 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.004616, allocations: 107.7 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.004886, allocations: 398.4 kB / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005032, allocations: 89.95 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.005328, allocations: 275.9 kB / 249.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.005458, allocations: 123.6 kB / 249.3 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.005493, allocations: 36 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.005524, allocations: 32 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.005562, allocations: 59.75 kB / 249.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.005638, allocations: 95.81 kB / 249.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.005856, allocations: 231.1 kB / 249.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.00587, allocations: 0 / 249.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00587, allocations: 0 / 249.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.005883, allocations: 3.938 kB / 249.8 MB, free: 9.031 MB / 250.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.0006905/0.006574, allocations: 0.6088 MB / 250.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.006607, allocations: 16.02 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.006663, allocations: 44.91 kB / 250.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.006849, allocations: 190.1 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.006877, allocations: 25.03 kB / 250.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.006908, allocations: 32.33 kB / 250.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.007151, allocations: 219.3 kB / 250.9 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.00716, allocations: 192 / 250.9 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.007177, allocations: 12.38 kB / 250.9 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.007186, allocations: 11.94 kB / 250.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.007292, allocations: 84.55 kB / 251 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.008086, allocations: 0.7523 MB / 251.8 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.008226, allocations: 85.73 kB / 251.9 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.008259, allocations: 24.86 kB / 251.9 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.008284, allocations: 7.984 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.008306, allocations: 38.47 kB / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.008307, allocations: 0 / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.000742/0.009049, allocations: 394.4 kB / 252.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.009075, allocations: 55.41 kB / 252.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.009206, allocations: 248.8 kB / 252.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.009221, allocations: 33.7 kB / 252.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.009303, allocations: 223.7 kB / 252.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.009337, allocations: 75.33 kB / 252.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.009396, allocations: 69.67 kB / 253 MB, free: 5.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.009472, allocations: 342.8 kB / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.00951, allocations: 27.98 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.009591, allocations: 128.1 kB / 253.5 MB, free: 5.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.009727, allocations: 193.1 kB / 253.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009728, allocations: 0 / 253.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002231/0.009951, allocations: 237.4 kB / 253.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.009964, allocations: 4 kB / 253.9 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.00997, allocations: 4 kB / 253.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.0102, allocations: 69.83 kB / 254 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.01035, allocations: 79.89 kB / 254.1 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.01136, allocations: 2.369 MB / 256.4 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.01145, allocations: 23.98 kB / 256.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01147, allocations: 16 kB / 256.5 MB, free: 1.871 MB / 250.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 8.329e-05/0.01155, allocations: 125.7 kB / 256.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.01158, allocations: 23.92 kB / 256.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.01161, allocations: 30.27 kB / 256.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.01161, allocations: 0 / 256.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01161, allocations: 4 kB / 256.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01162, allocations: 7.922 kB / 256.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01176, allocations: 157.8 kB / 256.8 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01176, allocations: 4 kB / 256.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-05/0.01184, allocations: 31.98 kB / 256.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.01186, allocations: 27.84 kB / 256.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.01203, allocations: 73.72 kB / 256.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01204, allocations: 4 kB / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008978/0.01294, allocations: 2.362 MB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01294, allocations: 4.062 kB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.01311, allocations: 241 kB / 259.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01313, allocations: 0 / 259.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.0132, allocations: 11.98 kB / 259.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01324, allocations: 23.91 kB / 259.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01324, allocations: 7.984 kB / 259.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.635e-05/0.0133, allocations: 82.77 kB / 259.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0133, allocations: 3.938 kB / 259.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01351, allocations: 76 kB / 259.7 MB, free: 14.36 MB / 266.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 6.97e-05/0.01358, allocations: 84.41 kB / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.01392, allocations: 372.3 kB / 260.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.01393, allocations: 4.812 kB / 260.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01409, allocations: 297.9 kB / 260.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.01427, allocations: 52.48 kB / 260.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.01576, allocations: 0.536 MB / 261.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.01582, allocations: 88.31 kB / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.01589, allocations: 34.31 kB / 261.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.01597, allocations: 83.34 kB / 261.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01597, allocations: 3.938 kB / 261.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.004665/0.02064, allocations: 2.957 MB / 264.2 MB, free: 9.797 MB / 266.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 -ignoreHideResult -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.5173479821532965]