Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.4 MB / 251.1 MB, free: 8.492 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.84 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2479, allocations: 53.32 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004293/0.2522, allocations: 2.824 MB / 425.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2536, allocations: 0.7984 MB / 425.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2538, allocations: 11.94 kB / 425.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.254, allocations: 63.42 kB / 426 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.2543, allocations: 91.25 kB / 426.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2546, allocations: 119.7 kB / 426.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.255, allocations: 386.5 kB / 426.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2552, allocations: 98.92 kB / 426.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2555, allocations: 155.4 kB / 426.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.2558, allocations: 171.2 kB / 427 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.2558, allocations: 32 kB / 427 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.2559, allocations: 36 kB / 427 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.2559, allocations: 71.75 kB / 427.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2561, allocations: 179.1 kB / 427.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.2566, allocations: 401.9 kB / 427.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2566, allocations: 0 / 427.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2566, allocations: 0 / 427.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2566, allocations: 3.938 kB / 427.7 MB, free: 2.41 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.001241/0.2578, allocations: 0.6506 MB / 428.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2578, allocations: 12.03 kB / 428.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2579, allocations: 36.7 kB / 428.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2583, allocations: 276.7 kB / 428.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.2583, allocations: 25.03 kB / 428.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.2584, allocations: 28.38 kB / 428.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.259, allocations: 294.3 kB / 429 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.259, allocations: 4 kB / 429 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.2591, allocations: 16 kB / 429 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2591, allocations: 8 kB / 429 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.2597, allocations: 246.5 kB / 429.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.2615, allocations: 1.12 MB / 430.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2618, allocations: 146.5 kB / 430.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.262, allocations: 64.83 kB / 430.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2621, allocations: 4 kB / 430.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2621, allocations: 34.55 kB / 430.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2621, allocations: 0 / 430.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002014/0.2641, allocations: 0.5913 MB / 431.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2641, allocations: 51.41 kB / 431.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2645, allocations: 274.5 kB / 431.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2645, allocations: 25.7 kB / 431.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2647, allocations: 236 kB / 431.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.2647, allocations: 83.38 kB / 431.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2648, allocations: 61.44 kB / 431.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.265, allocations: 338.8 kB / 432.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2653, allocations: 99.86 kB / 432.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2656, allocations: 192.2 kB / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.2662, allocations: 301.1 kB / 432.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2662, allocations: 3.938 kB / 432.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008286/0.2671, allocations: 393.5 kB / 433.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2671, allocations: 8 kB / 433.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2671, allocations: 4 kB / 433.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.2673, allocations: 61.61 kB / 433.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2677, allocations: 71.89 kB / 433.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.27, allocations: 2.838 MB / 436.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.2703, allocations: 31.98 kB / 436.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2703, allocations: 16 kB / 436.2 MB, free: 9.176 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.0001693/0.2705, allocations: 149.7 kB / 436.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.2705, allocations: 23.86 kB / 436.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.2706, allocations: 34.17 kB / 436.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2706, allocations: 0 / 436.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2706, allocations: 4 kB / 436.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2706, allocations: 4 kB / 436.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.271, allocations: 333.4 kB / 436.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.271, allocations: 0 / 436.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2712, allocations: 43.84 kB / 436.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.2714, allocations: 53.81 kB / 436.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2714, allocations: 11.98 kB / 436.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.2736, allocations: 2.833 MB / 439.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2736, allocations: 4.125 kB / 439.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.2744, allocations: 375.6 kB / 440.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.2744, allocations: 100.9 kB / 440.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2745, allocations: 12 kB / 440.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2747, allocations: 11.98 kB / 440.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.2747, allocations: 19.97 kB / 440.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.2748, allocations: 8 kB / 440.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2749, allocations: 186 kB / 440.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2749, allocations: 0 / 440.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.2753, allocations: 72 kB / 440.5 MB, free: 4.543 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.0001304/0.2755, allocations: 114.4 kB / 440.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009345/0.2764, allocations: 469 kB / 441.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2764, allocations: 0 / 441.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.2769, allocations: 337.4 kB / 441.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2772, allocations: 30.44 kB / 441.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2783, allocations: 0.5526 MB / 442 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2787, allocations: 0.7714 MB / 442.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2788, allocations: 30.31 kB / 442.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.2789, allocations: 23.44 kB / 442.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2789, allocations: 0 / 442.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Templates: time 0.006854/0.2857, allocations: 2.827 MB / 445.6 MB, free: 15.3 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches