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.001947/0.001947, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002322/0.002322, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001656/0.001656, allocations: 48.02 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2261, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007437/0.2335, allocations: 5.111 MB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.2379, allocations: 2.187 MB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.2384, allocations: 16 kB / 439 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.2419, allocations: 1.418 MB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.2433, allocations: 417.4 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.2459, allocations: 1.224 MB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.2471, allocations: 0.7278 MB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.2482, allocations: 0.5846 MB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.2487, allocations: 334.8 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.2494, allocations: 430.3 kB / 444.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.2495, allocations: 68 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008422/0.2503, allocations: 415.6 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2505, allocations: 159.5 kB / 444.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.2509, allocations: 382.1 kB / 445.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2524, allocations: 1.214 MB / 446.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2524, allocations: 0 / 446.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2524, allocations: 0 / 446.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2524, allocations: 0 / 446.3 MB, free: 8.238 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.004251/0.2567, allocations: 1.406 MB / 447.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2567, allocations: 8.031 kB / 447.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.2594, allocations: 372.1 kB / 448.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2596, allocations: 186.3 kB / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.2597, allocations: 66.38 kB / 448.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.2598, allocations: 88.31 kB / 448.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.2616, allocations: 0.8721 MB / 449.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.2616, allocations: 4 kB / 449.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.2617, allocations: 32 kB / 449.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.2617, allocations: 23.94 kB / 449.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.2635, allocations: 0.7925 MB / 450.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.2682, allocations: 2.767 MB / 452.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2694, allocations: 0.5153 MB / 453.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.2699, allocations: 222.2 kB / 453.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.27, allocations: 28.45 kB / 453.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.27, allocations: 39.06 kB / 453.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.903e-06/0.27, allocations: 4 kB / 453.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007375/0.2774, allocations: 2.167 MB / 455.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.2775, allocations: 81.61 kB / 455.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.2778, allocations: 312.4 kB / 456.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.2779, allocations: 37.7 kB / 456.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.2781, allocations: 367.9 kB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.2783, allocations: 222.1 kB / 456.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.2785, allocations: 150.5 kB / 457 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2787, allocations: 350.7 kB / 457.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.2795, allocations: 273.8 kB / 457.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/0.2804, allocations: 0.5004 MB / 458.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.2822, allocations: 0.8126 MB / 458.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2822, allocations: 4 kB / 458.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002178/0.2844, allocations: 0.8971 MB / 459.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2844, allocations: 8 kB / 459.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.2845, allocations: 8 kB / 459.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.2847, allocations: 77.67 kB / 459.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.2856, allocations: 191.7 kB / 460.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.2879, allocations: 2.661 MB / 462.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/0.2885, allocations: 63.95 kB / 462.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.2886, allocations: 40.05 kB / 462.9 MB, free: 6.848 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.0003042/0.2889, allocations: 209.8 kB / 463.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.289, allocations: 43.72 kB / 463.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.291, allocations: 0.7296 MB / 463.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.291, allocations: 4 kB / 463.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.291, allocations: 8 kB / 463.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.291, allocations: 3.984 kB / 463.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.2938, allocations: 1.38 MB / 465.2 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2938, allocations: 3.938 kB / 465.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.2945, allocations: 135.8 kB / 465.4 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.2947, allocations: 53.67 kB / 465.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.2948, allocations: 19.98 kB / 465.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.297, allocations: 2.638 MB / 468.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.297, allocations: 0 / 468.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.2996, allocations: 1.082 MB / 469.2 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.2998, allocations: 87.61 kB / 469.2 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.2999, allocations: 16.06 kB / 469.3 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.3004, allocations: 43.95 kB / 469.3 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3005, allocations: 48.41 kB / 469.3 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.3005, allocations: 19.98 kB / 469.4 MB, free: 8 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.3008, allocations: 207 kB / 469.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3008, allocations: 0 / 469.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.3015, allocations: 180 kB / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002845/0.3018, allocations: 167 kB / 469.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.3039, allocations: 0.8795 MB / 470.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3039, allocations: 1.312 kB / 470.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3049, allocations: 0.5195 MB / 471.3 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3054, allocations: 56.41 kB / 471.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.3083, allocations: 1.2 MB / 472.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.3088, allocations: 0.881 MB / 473.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.3092, allocations: 84.5 kB / 473.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3094, allocations: 55.41 kB / 473.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3094, allocations: 0 / 473.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01517/0.3245, allocations: 6.948 MB / 480.5 MB, free: 4.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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.807918640086427]