Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.00177/0.00177, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002197/0.002197, allocations: 213.2 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.86 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2346, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005469/0.24, allocations: 3.564 MB / 433.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2418, allocations: 0.9659 MB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.242, allocations: 7.938 kB / 434.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.2423, allocations: 95.09 kB / 434.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.2427, allocations: 170.7 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.243, allocations: 171.8 kB / 434.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.2437, allocations: 0.6348 MB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.2439, allocations: 141.5 kB / 435.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2442, allocations: 243 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.2445, allocations: 274.7 kB / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.2446, allocations: 52 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.2447, allocations: 52 kB / 436.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2448, allocations: 119.6 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.2451, allocations: 286.4 kB / 436.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.2458, allocations: 0.6352 MB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2458, allocations: 4 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2458, allocations: 0 / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.2458, allocations: 0 / 437.2 MB, free: 140 kB / 334.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.001607/0.2474, allocations: 0.8727 MB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2474, allocations: 12.03 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2476, allocations: 64.52 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.2481, allocations: 359.9 kB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.2481, allocations: 41.62 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.2482, allocations: 48.38 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.2491, allocations: 450.4 kB / 439 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2491, allocations: 0 / 439 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.2491, allocations: 20 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.2491, allocations: 12 kB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.25, allocations: 385 kB / 439.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.2526, allocations: 1.581 MB / 441 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.2536, allocations: 389.4 kB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.254, allocations: 165.4 kB / 441.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.2541, allocations: 8.328 kB / 441.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2541, allocations: 34.98 kB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.2541, allocations: 3.938 kB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003242/0.2573, allocations: 1.2 MB / 442.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.2574, allocations: 55.97 kB / 442.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.2579, allocations: 409.5 kB / 443.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.2579, allocations: 37.7 kB / 443.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.2582, allocations: 308.7 kB / 443.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2583, allocations: 194.3 kB / 443.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.2585, allocations: 118.2 kB / 443.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2587, allocations: 362.8 kB / 444.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.2591, allocations: 177.2 kB / 444.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.2597, allocations: 295 kB / 444.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009516/0.2606, allocations: 494.5 kB / 445.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2607, allocations: 3.938 kB / 445.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001636/0.2623, allocations: 0.7423 MB / 445.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2623, allocations: 8 kB / 445.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2623, allocations: 4 kB / 445.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.2629, allocations: 177 kB / 446.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.2634, allocations: 119.8 kB / 446.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.2679, allocations: 4.266 MB / 450.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.2683, allocations: 35.95 kB / 450.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.2684, allocations: 24 kB / 450.6 MB, free: 2.086 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 (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.0002625/0.2686, allocations: 186.7 kB / 450.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.2687, allocations: 51.67 kB / 450.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2688, allocations: 65 kB / 450.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2688, allocations: 8 kB / 450.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.2688, allocations: 4 kB / 450.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2689, allocations: 4.172 kB / 450.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.2711, allocations: 1.296 MB / 452.2 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.2711, allocations: 11.92 kB / 452.2 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.2714, allocations: 59.91 kB / 452.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.2719, allocations: 169.6 kB / 452.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.2719, allocations: 12 kB / 452.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.2759, allocations: 4.1 MB / 456.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2759, allocations: 0 / 456.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.2772, allocations: 0.7017 MB / 457.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.2773, allocations: 136.7 kB / 457.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.2774, allocations: 12 kB / 457.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.2777, allocations: 19.97 kB / 457.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2778, allocations: 52.31 kB / 457.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2778, allocations: 16 kB / 457.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.2781, allocations: 283.2 kB / 457.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2781, allocations: 0 / 457.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006647/0.2788, allocations: 148 kB / 457.9 MB, free: 10.36 MB / 366.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.0001498/0.2789, allocations: 119.2 kB / 458 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.2804, allocations: 0.7612 MB / 458.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2804, allocations: 0 / 458.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.2813, allocations: 0.5123 MB / 459.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.2817, allocations: 49.48 kB / 459.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.2834, allocations: 0.9758 MB / 460.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.2839, allocations: 0.8592 MB / 461.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.284, allocations: 48.36 kB / 461.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.2841, allocations: 27.62 kB / 461.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2841, allocations: 0 / 461.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of Templates: time 0.01079/0.2949, allocations: 5.444 MB / 466.7 MB, free: 1.438 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.862014980986714]