Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001666/0.001666, allocations: 80.33 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001927/0.001927, allocations: 149.5 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.406/1.406, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.998e-05, allocations: 3.812 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006057/0.006077, allocations: 3.204 MB / 322.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.008464, allocations: 0.8849 MB / 323 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.008939, allocations: 11.12 kB / 323 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.009314, allocations: 100.4 kB / 323.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.009914, allocations: 170.4 kB / 323.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.01052, allocations: 172.5 kB / 323.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.0113, allocations: 0.6558 MB / 324.1 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.01161, allocations: 131 kB / 324.2 MB, free: 124 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.01226, allocations: 366.8 kB / 324.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.01267, allocations: 198.3 kB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.01278, allocations: 51.31 kB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.01291, allocations: 53.09 kB / 324.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.01309, allocations: 124.1 kB / 325 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.01342, allocations: 195.4 kB / 325.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.01453, allocations: 0.6368 MB / 325.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01454, allocations: 0 / 325.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01454, allocations: 4 kB / 325.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.01455, allocations: 0 / 325.8 MB, free: 15.46 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.002263/0.01681, allocations: 0.7813 MB / 326.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.01685, allocations: 9.781 kB / 326.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.01702, allocations: 62.75 kB / 326.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.01776, allocations: 292.2 kB / 327 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.01782, allocations: 43.66 kB / 327 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.01794, allocations: 57.11 kB / 327.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.01931, allocations: 442.8 kB / 327.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.01933, allocations: 5.188 kB / 327.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.0194, allocations: 24.28 kB / 327.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.01942, allocations: 12.12 kB / 327.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.02086, allocations: 384.6 kB / 327.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.02456, allocations: 1.25 MB / 329.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.02564, allocations: 301.3 kB / 329.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.0263, allocations: 169 kB / 329.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.02634, allocations: 5.734 kB / 329.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.02638, allocations: 38.61 kB / 329.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.515e-06/0.02638, allocations: 0 / 329.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.005282/0.03167, allocations: 1.192 MB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.03174, allocations: 58.39 kB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.03245, allocations: 395.2 kB / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.03251, allocations: 40.09 kB / 331.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.03282, allocations: 302.6 kB / 331.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.03305, allocations: 190 kB / 331.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.03331, allocations: 109.4 kB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.03354, allocations: 356.4 kB / 332.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.03427, allocations: 183.5 kB / 332.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.03512, allocations: 297.8 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.03649, allocations: 496.4 kB / 333.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.03649, allocations: 1.25 kB / 333.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002126/0.03862, allocations: 0.7411 MB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.03864, allocations: 6.406 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.03865, allocations: 2.344 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.03921, allocations: 183.9 kB / 334.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.03969, allocations: 115.6 kB / 334.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.04428, allocations: 3.984 MB / 338.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.04471, allocations: 28.36 kB / 338.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.04476, allocations: 21.88 kB / 338.3 MB, free: 6.906 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.0002772/0.04503, allocations: 196 kB / 338.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.04512, allocations: 49.31 kB / 338.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.04525, allocations: 54.34 kB / 338.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.04526, allocations: 5.688 kB / 338.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/0.04528, allocations: 3.969 kB / 338.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.04529, allocations: 5.547 kB / 338.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.04766, allocations: 1.143 MB / 339.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.04767, allocations: 1.094 kB / 339.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.04797, allocations: 70.83 kB / 339.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.04839, allocations: 163.2 kB / 340 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.04842, allocations: 11.88 kB / 340 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.05236, allocations: 3.82 MB / 343.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.05237, allocations: 128 / 343.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.05366, allocations: 0.6927 MB / 344.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.05375, allocations: 43.66 kB / 344.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.05381, allocations: 12 kB / 344.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.05413, allocations: 31.97 kB / 344.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.05424, allocations: 52.34 kB / 344.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.05427, allocations: 8 kB / 344.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.05457, allocations: 267.2 kB / 344.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05457, allocations: 0 / 344.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.05529, allocations: 152 kB / 345.1 MB, free: 0.6992 MB / 302.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.0001453/0.05543, allocations: 111.1 kB / 345.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.05702, allocations: 0.7583 MB / 346 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.05703, allocations: 7.938 kB / 346 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.05789, allocations: 0.5008 MB / 346.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.05833, allocations: 48.59 kB / 346.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.06008, allocations: 0.9289 MB / 347.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.06034, allocations: 259 kB / 347.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.06049, allocations: 44.27 kB / 347.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.06059, allocations: 36.48 kB / 347.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.06059, allocations: 0 / 347.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of Templates: time 0.01144/0.07203, allocations: 5.119 MB / 352.9 MB, free: 8.789 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.429878145456314]