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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.375/1.375, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-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] "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.001876/0.001876, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2495, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004203/0.2537, allocations: 2.865 MB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.255, allocations: 0.7944 MB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2552, allocations: 4 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.2554, allocations: 63.38 kB / 435.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.2556, allocations: 99.23 kB / 435.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.2559, allocations: 115.7 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.2563, allocations: 382.6 kB / 436.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2565, allocations: 98.92 kB / 436.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.2568, allocations: 159.4 kB / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.257, allocations: 175.2 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.257, allocations: 32 kB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.2571, allocations: 32 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.2571, allocations: 71.75 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2573, allocations: 175.1 kB / 437.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.2577, allocations: 404.2 kB / 437.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2577, allocations: 0 / 437.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2577, allocations: 0 / 437.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2577, allocations: 0 / 437.5 MB, free: 1.949 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.001167/0.2589, allocations: 0.6544 MB / 438.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2589, allocations: 8.031 kB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.259, allocations: 40.7 kB / 438.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.2594, allocations: 276.7 kB / 438.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.2594, allocations: 25.03 kB / 438.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.2595, allocations: 32.38 kB / 438.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.2601, allocations: 294.3 kB / 438.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2601, allocations: 0 / 438.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2601, allocations: 16 kB / 438.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2601, allocations: 8 kB / 438.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.2607, allocations: 250.5 kB / 439.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2624, allocations: 1.105 MB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2628, allocations: 158.3 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.263, allocations: 64.81 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.263, allocations: 4 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2631, allocations: 38.56 kB / 440.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.2631, allocations: 0 / 440.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002087/0.2652, allocations: 0.5869 MB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2652, allocations: 55.41 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.2655, allocations: 274.5 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2655, allocations: 29.7 kB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2657, allocations: 240 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.2657, allocations: 71.38 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2659, allocations: 69.44 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.266, allocations: 334.8 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2663, allocations: 91.94 kB / 442.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.2667, allocations: 196.1 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.2673, allocations: 301.1 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2673, allocations: 3.938 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008709/0.2682, allocations: 401.3 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2682, allocations: 8 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2682, allocations: 4 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.2684, allocations: 49.69 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.2688, allocations: 83.83 kB / 443.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.271, allocations: 2.834 MB / 446 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2713, allocations: 28.06 kB / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2713, allocations: 16 kB / 446.1 MB, free: 8.715 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.0001632/0.2715, allocations: 153.7 kB / 446.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.2715, allocations: 27.84 kB / 446.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.2716, allocations: 26.19 kB / 446.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2716, allocations: 4 kB / 446.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2716, allocations: 4 kB / 446.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2716, allocations: 3.984 kB / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.272, allocations: 341.4 kB / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.272, allocations: 0 / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.2722, allocations: 35.97 kB / 446.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.2724, allocations: 61.61 kB / 446.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2724, allocations: 4 kB / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.2745, allocations: 2.829 MB / 449.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2745, allocations: 0 / 449.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.2753, allocations: 372.8 kB / 449.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.2753, allocations: 105 kB / 450 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2754, allocations: 7.984 kB / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2756, allocations: 11.98 kB / 450 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.2756, allocations: 23.91 kB / 450 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2756, allocations: 4 kB / 450 MB, free: 4.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.2758, allocations: 186 kB / 450.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2758, allocations: 0 / 450.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.2762, allocations: 76 kB / 450.3 MB, free: 4.074 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.2763, allocations: 103.2 kB / 450.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.2773, allocations: 475 kB / 450.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2773, allocations: 0 / 450.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.2778, allocations: 338.2 kB / 451.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2781, allocations: 40.48 kB / 451.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2792, allocations: 0.5894 MB / 451.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2796, allocations: 0.7791 MB / 452.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.2797, allocations: 23.58 kB / 452.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2797, allocations: 0 / 452.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Templates: time 0.009554/0.2893, allocations: 5.988 MB / 458.6 MB, free: 11.64 MB / 366.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.058876384980977]