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.001534/0.001534, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00168/0.00168, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.605/1.605, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.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 0.001621/0.001621, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3525, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007051/0.3596, allocations: 3.241 MB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.3625, allocations: 0.9191 MB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.3628, allocations: 11.94 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.3633, allocations: 95.09 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.3639, allocations: 166.4 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.3644, allocations: 183.7 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.3652, allocations: 0.627 MB / 437.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.3656, allocations: 142 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.3659, allocations: 247 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.3663, allocations: 274.7 kB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3664, allocations: 52 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.3665, allocations: 55.94 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3667, allocations: 123.5 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.367, allocations: 230.8 kB / 438.7 MB, free: 356 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.3679, allocations: 0.6447 MB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.3679, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.368, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.368, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.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.002029/0.37, allocations: 0.8011 MB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.3701, allocations: 12.03 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3702, allocations: 64.52 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.371, allocations: 298.1 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.3711, allocations: 37.69 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3712, allocations: 52.38 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.3722, allocations: 446.4 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3722, allocations: 0 / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.3722, allocations: 20 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3723, allocations: 12 kB / 441 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000945/0.3732, allocations: 385 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.376, allocations: 1.255 MB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.3768, allocations: 315.5 kB / 443 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3773, allocations: 157.4 kB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.3773, allocations: 8.312 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.3774, allocations: 38.89 kB / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.3774, allocations: 0 / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003703/0.3811, allocations: 1.191 MB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.3811, allocations: 63.89 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.3817, allocations: 401.5 kB / 444.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.3817, allocations: 37.8 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.382, allocations: 324.5 kB / 445.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.3822, allocations: 194.3 kB / 445.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.3825, allocations: 114.3 kB / 445.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3827, allocations: 358.8 kB / 445.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.3832, allocations: 181.2 kB / 446 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.3838, allocations: 303.2 kB / 446.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3848, allocations: 496 kB / 446.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3848, allocations: 0 / 446.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001658/0.3864, allocations: 0.7289 MB / 447.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.3865, allocations: 7.938 kB / 447.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.3865, allocations: 7.984 kB / 447.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/0.3872, allocations: 181.5 kB / 447.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.3877, allocations: 115.9 kB / 447.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/0.3927, allocations: 3.98 MB / 451.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.3932, allocations: 35.88 kB / 451.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.3932, allocations: 27.98 kB / 451.9 MB, free: 2.641 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.0003221/0.3936, allocations: 177.8 kB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3937, allocations: 47.72 kB / 452.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.3938, allocations: 57.03 kB / 452.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.3938, allocations: 8 kB / 452.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.3939, allocations: 4 kB / 452.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3939, allocations: 11.86 kB / 452.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.3963, allocations: 1.139 MB / 453.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3963, allocations: 0 / 453.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3966, allocations: 67.89 kB / 453.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.3971, allocations: 161.6 kB / 453.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.462e-05/0.3971, allocations: 16.19 kB / 453.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.4015, allocations: 3.815 MB / 457.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.4015, allocations: 4.031 kB / 457.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4029, allocations: 0.6885 MB / 458 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.403, allocations: 51.66 kB / 458.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.4031, allocations: 12 kB / 458.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.4034, allocations: 19.98 kB / 458.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4035, allocations: 56.22 kB / 458.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.4035, allocations: 16 kB / 458.2 MB, free: 12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.4039, allocations: 271.2 kB / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4039, allocations: 0 / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007901/0.4047, allocations: 152 kB / 458.6 MB, free: 11.59 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.0001641/0.4049, allocations: 119.1 kB / 458.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4067, allocations: 0.7612 MB / 459.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4067, allocations: 0 / 459.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009659/0.4077, allocations: 0.5123 MB / 460 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4081, allocations: 41.44 kB / 460 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.4104, allocations: 0.9671 MB / 461 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4108, allocations: 263 kB / 461.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.4109, allocations: 44.25 kB / 461.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.411, allocations: 27.44 kB / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.411, allocations: 0 / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of Templates: time 0.01439/0.4254, allocations: 5.913 MB / 467.3 MB, free: 2.844 MB / 366.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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: 5.428123697987758]