Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003159/0.003159, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8635/0.8635, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.463e-05, allocations: 2.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002802/0.002827, allocations: 2.631 MB / 322.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000968/0.003795, allocations: 0.7126 MB / 323 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.003914, allocations: 8 kB / 323 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.004114, allocations: 63.38 kB / 323.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.004318, allocations: 103.1 kB / 323.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.004532, allocations: 111.7 kB / 323.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.004803, allocations: 398.4 kB / 323.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.004964, allocations: 91.27 kB / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.005197, allocations: 235.4 kB / 324 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.005321, allocations: 123.6 kB / 324.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.005364, allocations: 36 kB / 324.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.953e-05/0.005394, allocations: 32 kB / 324.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.005439, allocations: 79.73 kB / 324.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.005514, allocations: 119.7 kB / 324.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.005803, allocations: 398.7 kB / 324.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005805, allocations: 0 / 324.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005806, allocations: 0 / 324.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005811, allocations: 0 / 324.8 MB, free: 0.7148 MB / 282.7 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.0007376/0.006548, allocations: 0.5714 MB / 325.4 MB, free: 116 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.006584, allocations: 8.031 kB / 325.4 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.006636, allocations: 36.7 kB / 325.4 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.006901, allocations: 217.8 kB / 325.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.006925, allocations: 21.03 kB / 325.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.006963, allocations: 36.36 kB / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.007326, allocations: 286.6 kB / 325.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007337, allocations: 4.125 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.00736, allocations: 24.3 kB / 326 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.007367, allocations: 11.94 kB / 326 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.007706, allocations: 246.5 kB / 326.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.008674, allocations: 0.8674 MB / 327.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.008906, allocations: 138.6 kB / 327.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.009008, allocations: 60.83 kB / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.009029, allocations: 7.938 kB / 327.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.009049, allocations: 38.55 kB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.00905, allocations: 0 / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001136/0.01019, allocations: 0.6008 MB / 327.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01022, allocations: 55.34 kB / 328 MB, free: 13.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.0104, allocations: 273.7 kB / 328.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01042, allocations: 29.7 kB / 328.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01052, allocations: 224.1 kB / 328.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01057, allocations: 79.34 kB / 328.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.01063, allocations: 57.66 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.01072, allocations: 342.8 kB / 329 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.01088, allocations: 95.92 kB / 329.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.01107, allocations: 198.5 kB / 329.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.0114, allocations: 301.1 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.0114, allocations: 4 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004647/0.01187, allocations: 397 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01188, allocations: 8 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01188, allocations: 0 / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.01205, allocations: 62.08 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01221, allocations: 75.89 kB / 330.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.01343, allocations: 2.588 MB / 332.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01355, allocations: 23.97 kB / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01357, allocations: 19.94 kB / 332.7 MB, free: 8.266 MB / 298.7 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 9.878e-05/0.01367, allocations: 149.7 kB / 332.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.01369, allocations: 23.86 kB / 332.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.01373, allocations: 38.2 kB / 332.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.01373, allocations: 4.062 kB / 332.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01374, allocations: 0 / 332.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01374, allocations: 4 kB / 332.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.01392, allocations: 225.2 kB / 333.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01393, allocations: 0 / 333.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.01402, allocations: 39.91 kB / 333.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-05/0.01411, allocations: 53.67 kB / 333.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01413, allocations: 11.94 kB / 333.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.01519, allocations: 2.568 MB / 335.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0152, allocations: 3.938 kB / 335.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.01558, allocations: 376.9 kB / 336.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.0156, allocations: 19.86 kB / 336.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.01562, allocations: 8 kB / 336.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.01571, allocations: 15.97 kB / 336.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.01576, allocations: 15.97 kB / 336.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01577, allocations: 8 kB / 336.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.01589, allocations: 185.2 kB / 336.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01589, allocations: 4 kB / 336.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01613, allocations: 68 kB / 336.5 MB, free: 4.195 MB / 298.7 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 8.381e-05/0.01621, allocations: 103.2 kB / 336.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.01674, allocations: 473 kB / 337.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01674, allocations: 0 / 337.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.01699, allocations: 341.2 kB / 337.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.0172, allocations: 32.47 kB / 337.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.01785, allocations: 0.5478 MB / 338 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.01795, allocations: 172.8 kB / 338.2 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.01801, allocations: 24.5 kB / 338.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01801, allocations: 0 / 338.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of Templates: time 0.005089/0.0231, allocations: 6.008 MB / 344.2 MB, free: 12.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.409203401766717]