Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001302/0.001302, allocations: 80.31 kB / 20.68 MB, free: 1.035 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.002127/0.002127, allocations: 163.8 kB / 23.96 MB, free: 4.164 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.455/1.455, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 1.125 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.623e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005179/0.005205, allocations: 3.244 MB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.007476, allocations: 0.9353 MB / 329.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.007995, allocations: 19.31 kB / 329.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.008453, allocations: 93.94 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009073/0.00936, allocations: 171.2 kB / 329.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.01008, allocations: 176 kB / 329.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01147, allocations: 0.6563 MB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.01186, allocations: 126.4 kB / 330.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01294, allocations: 369.8 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.01354, allocations: 199.4 kB / 331 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.01371, allocations: 52.12 kB / 331.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.01391, allocations: 52.38 kB / 331.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01405, allocations: 122.9 kB / 331.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.01438, allocations: 193.1 kB / 331.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.0153, allocations: 0.6469 MB / 332.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.0153, allocations: 0 / 332.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.0153, allocations: 0 / 332.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.01533, allocations: 0 / 332.1 MB, free: 12.08 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001928/0.01726, allocations: 0.7921 MB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.0173, allocations: 9.969 kB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.01749, allocations: 65.58 kB / 333 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.01807, allocations: 295.2 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.01812, allocations: 38.62 kB / 333.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.01821, allocations: 52.91 kB / 333.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.01923, allocations: 438.2 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.01925, allocations: 192 / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.01931, allocations: 23.47 kB / 333.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.01933, allocations: 12.94 kB / 333.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009531/0.02028, allocations: 393.6 kB / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.02319, allocations: 1.256 MB / 335.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.02398, allocations: 310.7 kB / 335.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.02443, allocations: 159.4 kB / 335.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.02448, allocations: 4.672 kB / 335.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.02452, allocations: 45.34 kB / 335.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.02453, allocations: 0 / 335.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.00369/0.02822, allocations: 1.189 MB / 337.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.02827, allocations: 62 kB / 337.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.02883, allocations: 404.5 kB / 337.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.02887, allocations: 35.84 kB / 337.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.02913, allocations: 320 kB / 337.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.0293, allocations: 198.3 kB / 338.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.02949, allocations: 118.2 kB / 338.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.02968, allocations: 354.8 kB / 338.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.03015, allocations: 177.2 kB / 338.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.03073, allocations: 305.7 kB / 339.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.03176, allocations: 0.4885 MB / 339.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.03176, allocations: 8 kB / 339.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00162/0.03338, allocations: 0.7288 MB / 340.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.0334, allocations: 8 kB / 340.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.03341, allocations: 0 / 340.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.03402, allocations: 181.6 kB / 340.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.03454, allocations: 119.8 kB / 340.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.03919, allocations: 3.963 MB / 344.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.03967, allocations: 31.98 kB / 344.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.03973, allocations: 23.98 kB / 344.6 MB, free: 1.109 MB / 302.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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.04001, allocations: 188.9 kB / 344.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.04012, allocations: 55.66 kB / 344.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.04024, allocations: 57.03 kB / 344.9 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.04024, allocations: 8 kB / 344.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.04026, allocations: 4 kB / 344.9 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.04027, allocations: 3.984 kB / 344.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.04274, allocations: 1.141 MB / 346.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.04275, allocations: 4 kB / 346.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.04308, allocations: 67.89 kB / 346.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.04355, allocations: 169.6 kB / 346.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.04358, allocations: 8 kB / 346.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.04762, allocations: 3.811 MB / 350.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.04762, allocations: 4.031 kB / 350.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.04898, allocations: 0.685 MB / 350.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.0491, allocations: 47.66 kB / 350.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.04916, allocations: 16 kB / 350.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.04948, allocations: 19.98 kB / 350.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.04961, allocations: 48.39 kB / 350.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.04964, allocations: 16 kB / 350.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.04997, allocations: 275.2 kB / 351.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04997, allocations: 0 / 351.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007808/0.05075, allocations: 152 kB / 351.4 MB, free: 10.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.05091, allocations: 119.1 kB / 351.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.05255, allocations: 0.7578 MB / 352.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.05256, allocations: 0 / 352.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.05345, allocations: 0.5166 MB / 352.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.0539, allocations: 41.5 kB / 352.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.05583, allocations: 0.9485 MB / 353.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.05612, allocations: 263 kB / 354 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.05629, allocations: 44.25 kB / 354 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.05639, allocations: 28.5 kB / 354.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.05639, allocations: 0 / 354.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of Templates: time 0.01195/0.06834, allocations: 5.132 MB / 359.2 MB, free: 2.105 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.5813465639948845]