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.001867/0.001867, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001426/0.001426, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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.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 0.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2129, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00417/0.2171, allocations: 2.642 MB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2184, allocations: 0.7477 MB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2185, allocations: 8 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.2187, allocations: 59.42 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.219, allocations: 106.8 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2193, allocations: 123.7 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.2197, allocations: 382.5 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2199, allocations: 95.33 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.2202, allocations: 171.3 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2204, allocations: 159.3 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.2204, allocations: 32 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.2205, allocations: 35.94 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.2206, allocations: 87.67 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2207, allocations: 143.3 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.2212, allocations: 397.3 kB / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2212, allocations: 4 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2212, allocations: 0 / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2212, allocations: 0 / 437.5 MB, free: 1.582 MB / 334.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.00123/0.2224, allocations: 0.5792 MB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2224, allocations: 8.031 kB / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.2225, allocations: 36.7 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.2229, allocations: 222.8 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.2229, allocations: 25.03 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/0.223, allocations: 28.38 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.2236, allocations: 298.3 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2236, allocations: 4 kB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2236, allocations: 16 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2237, allocations: 8 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.2243, allocations: 246.5 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.2259, allocations: 0.8665 MB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.2263, allocations: 150.4 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2265, allocations: 68.83 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2265, allocations: 3.938 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2266, allocations: 34.56 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.2266, allocations: 4 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002102/0.2287, allocations: 0.5906 MB / 440.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2287, allocations: 55.41 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.2291, allocations: 265.8 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2291, allocations: 33.7 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2292, allocations: 232 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.2293, allocations: 87.31 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2294, allocations: 69.44 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2296, allocations: 338.8 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.2299, allocations: 91.94 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.2302, allocations: 192.1 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.2309, allocations: 305.1 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2309, allocations: 0 / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008726/0.2318, allocations: 393 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2318, allocations: 8 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2318, allocations: 4 kB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.232, allocations: 62.08 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.2324, allocations: 67.89 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.2345, allocations: 2.584 MB / 445.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.2348, allocations: 23.98 kB / 445.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2348, allocations: 12 kB / 445.4 MB, free: 9.125 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.0001702/0.235, allocations: 161.6 kB / 445.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.235, allocations: 31.75 kB / 445.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.2351, allocations: 26.27 kB / 445.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2351, allocations: 4 kB / 445.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2351, allocations: 4.062 kB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2351, allocations: 7.938 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.2354, allocations: 225.2 kB / 445.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2354, allocations: 7.922 kB / 445.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.2357, allocations: 39.97 kB / 445.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.2358, allocations: 53.69 kB / 446 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2358, allocations: 3.984 kB / 446 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.2379, allocations: 2.572 MB / 448.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2379, allocations: 0 / 448.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.2387, allocations: 376 kB / 448.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.2387, allocations: 23.81 kB / 448.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.2387, allocations: 4 kB / 449 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.239, allocations: 15.98 kB / 449 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.239, allocations: 23.95 kB / 449 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2391, allocations: 11.88 kB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.2392, allocations: 197.1 kB / 449.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2392, allocations: 0 / 449.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.2396, allocations: 68 kB / 449.3 MB, free: 5.02 MB / 350.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.0001187/0.2397, allocations: 99.39 kB / 449.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009638/0.2407, allocations: 469.2 kB / 449.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2407, allocations: 0 / 449.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.2413, allocations: 342 kB / 450.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2416, allocations: 44.41 kB / 450.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2426, allocations: 0.5448 MB / 450.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.2428, allocations: 172.7 kB / 450.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2429, allocations: 26.28 kB / 450.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.243, allocations: 23.42 kB / 451 MB, free: 3.219 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.243, allocations: 0 / 451 MB, free: 3.219 MB / 350.1 MB Notification: Performance of Templates: time 0.00735/0.2503, allocations: 3.182 MB / 454.1 MB, free: 72 kB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.241297659988049]