Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.00129/0.00129, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001329/0.001329, allocations: 216.6 kB / 24.49 MB, free: 3.934 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2113, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006391/0.2177, allocations: 4.566 MB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.2209, allocations: 2.008 MB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.2211, allocations: 16 kB / 438.9 MB, free: 120 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.2242, allocations: 1.306 MB / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.2251, allocations: 413.4 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.2273, allocations: 1.134 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.2281, allocations: 0.7394 MB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008452/0.229, allocations: 0.5694 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.2294, allocations: 342.8 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.2298, allocations: 422.3 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.2299, allocations: 68 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006732/0.2306, allocations: 415.6 kB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2308, allocations: 159.4 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.231, allocations: 314.5 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2324, allocations: 1.214 MB / 446 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2324, allocations: 4 kB / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2324, allocations: 0 / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2324, allocations: 0 / 446 MB, free: 9.047 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004595/0.237, allocations: 1.402 MB / 447.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.237, allocations: 12.03 kB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.2399, allocations: 364.1 kB / 447.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.2401, allocations: 198.3 kB / 448 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.2401, allocations: 58.38 kB / 448 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2403, allocations: 88.36 kB / 448.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2421, allocations: 0.9011 MB / 449 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.2421, allocations: 3.953 kB / 449 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.2422, allocations: 36 kB / 449 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.2422, allocations: 20 kB / 449.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.2441, allocations: 0.7847 MB / 449.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.2483, allocations: 2.297 MB / 452.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2495, allocations: 0.5102 MB / 452.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.25, allocations: 218.2 kB / 452.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.2501, allocations: 24.48 kB / 452.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.2501, allocations: 46.98 kB / 452.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.204e-06/0.2501, allocations: 0 / 452.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00751/0.2576, allocations: 2.156 MB / 455.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.2577, allocations: 89.61 kB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.258, allocations: 307.8 kB / 455.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.2581, allocations: 37.7 kB / 455.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.2583, allocations: 371.9 kB / 455.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.2585, allocations: 222.1 kB / 456.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2588, allocations: 150.5 kB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2589, allocations: 346.8 kB / 456.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.2597, allocations: 269.8 kB / 456.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.2607, allocations: 0.5216 MB / 457.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.2624, allocations: 0.8126 MB / 458.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2624, allocations: 0 / 458.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002149/0.2646, allocations: 0.901 MB / 459.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2646, allocations: 12 kB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2646, allocations: 8 kB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.2648, allocations: 65.67 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.2658, allocations: 207.6 kB / 459.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.268, allocations: 2.612 MB / 462 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.2687, allocations: 68.02 kB / 462 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.2688, allocations: 35.98 kB / 462.1 MB, free: 8.211 MB / 366.1 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.0002768/0.269, allocations: 213.6 kB / 462.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.2691, allocations: 43.72 kB / 462.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.2711, allocations: 0.7334 MB / 463.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2711, allocations: 0 / 463.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2711, allocations: 4 kB / 463.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.2714, allocations: 79.69 kB / 463.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.2714, allocations: 12 kB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.2719, allocations: 47.94 kB / 463.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.2721, allocations: 52.34 kB / 463.3 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002227/0.2743, allocations: 0.7681 MB / 464 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002496/0.2768, allocations: 1.09 MB / 465.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007059/0.2775, allocations: 251.8 kB / 465.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2777, allocations: 195.1 kB / 465.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.2777, allocations: 0 / 465.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.2797, allocations: 0.9144 MB / 466.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of SimCode: time 0.00187/0.2816, allocations: 1.489 MB / 468 MB, free: 2.203 MB / 366.1 MB Notification: Performance of Templates: time 0.0207/0.3023, allocations: 12.61 MB / 480.6 MB, free: 5.734 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.697370681999018]