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.0008469/0.0008469, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004644/0.004644, allocations: 162.7 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8934/0.8934, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 2.274e-06/2.274e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.905e-05/4.133e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004872/0.004913, allocations: 3.248 MB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.006248, allocations: 0.9306 MB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.006434, allocations: 11.94 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.006683, allocations: 99.08 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.007002, allocations: 174.6 kB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.00729, allocations: 175.6 kB / 330.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.007748, allocations: 0.6541 MB / 331.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.007981, allocations: 122 kB / 331.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.008294, allocations: 371.1 kB / 331.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.008502, allocations: 195.4 kB / 331.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.008573, allocations: 52 kB / 331.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.008621, allocations: 52 kB / 331.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.008704, allocations: 131.4 kB / 332 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.008839, allocations: 191.5 kB / 332.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.009361, allocations: 0.6423 MB / 332.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.009365, allocations: 4 kB / 332.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009366, allocations: 0 / 332.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009373, allocations: 0 / 332.9 MB, free: 8.383 MB / 298.7 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.001069/0.01044, allocations: 0.7933 MB / 333.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.01049, allocations: 8.031 kB / 333.7 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.443e-05/0.01058, allocations: 68.52 kB / 333.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.01096, allocations: 297.3 kB / 334 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.01099, allocations: 37.69 kB / 334 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.01104, allocations: 52.38 kB / 334.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.01158, allocations: 439 kB / 334.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.0116, allocations: 192 / 334.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.01163, allocations: 23.94 kB / 334.6 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01164, allocations: 12 kB / 334.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.01216, allocations: 389 kB / 334.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.01363, allocations: 1.259 MB / 336.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.01408, allocations: 312.8 kB / 336.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.01433, allocations: 169.4 kB / 336.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.01435, allocations: 8.312 kB / 336.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.01437, allocations: 34.89 kB / 336.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.01438, allocations: 0 / 336.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.001908/0.01628, allocations: 1.2 MB / 337.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.01633, allocations: 55.91 kB / 338 MB, free: 3.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.01664, allocations: 405.5 kB / 338.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01667, allocations: 29.7 kB / 338.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.01682, allocations: 316.6 kB / 338.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.01693, allocations: 194.3 kB / 338.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01704, allocations: 114.2 kB / 339 MB, free: 2.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01715, allocations: 354.8 kB / 339.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.0174, allocations: 181.2 kB / 339.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.01771, allocations: 299.1 kB / 339.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.01827, allocations: 496.2 kB / 340.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01827, allocations: 4 kB / 340.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008764/0.01915, allocations: 0.7407 MB / 341.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01917, allocations: 8 kB / 341.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01918, allocations: 4 kB / 341.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.01953, allocations: 177.6 kB / 341.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.01978, allocations: 115.8 kB / 341.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.02259, allocations: 3.973 MB / 345.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.02277, allocations: 32.25 kB / 345.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.02279, allocations: 20 kB / 345.4 MB, free: 11.34 MB / 314.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 (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.0001576/0.02295, allocations: 189.7 kB / 345.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.023, allocations: 55.55 kB / 345.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.02307, allocations: 61.03 kB / 345.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.02308, allocations: 7.984 kB / 345.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.02309, allocations: 4 kB / 345.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.02309, allocations: 0 / 345.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.02442, allocations: 1.141 MB / 346.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02442, allocations: 8.125 kB / 346.8 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.02457, allocations: 67.89 kB / 346.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.02481, allocations: 161.5 kB / 347.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.02483, allocations: 12 kB / 347.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.02712, allocations: 3.811 MB / 350.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02712, allocations: 0 / 350.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.02782, allocations: 0.6889 MB / 351.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.02786, allocations: 47.66 kB / 351.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.02789, allocations: 12 kB / 351.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.02802, allocations: 27.97 kB / 351.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.0281, allocations: 44.36 kB / 351.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.02811, allocations: 19.98 kB / 351.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.0283, allocations: 267.2 kB / 352 MB, free: 4.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0283, allocations: 0 / 352 MB, free: 4.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.02871, allocations: 156 kB / 352.1 MB, free: 4.277 MB / 314.7 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.0001213/0.02883, allocations: 123 kB / 352.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008907/0.02972, allocations: 0.754 MB / 353 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02972, allocations: 0 / 353 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.0302, allocations: 0.5126 MB / 353.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.03051, allocations: 45.61 kB / 353.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.03173, allocations: 0.9734 MB / 354.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.0319, allocations: 259.2 kB / 354.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.03199, allocations: 40.42 kB / 354.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03199, allocations: 0 / 354.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of Templates: time 0.007924/0.03991, allocations: 10.04 MB / 364.9 MB, free: 7.383 MB / 330.7 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.559982175938785]