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.0009444/0.0009444, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.00552/0.00552, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8915/0.8915, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.535e-06/2.535e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.442e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003751/0.003776, allocations: 3.23 MB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.005067, allocations: 0.9346 MB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.005217, allocations: 11.94 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.005387, allocations: 99.03 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.005631, allocations: 174.6 kB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.005847, allocations: 171.6 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.006214, allocations: 0.658 MB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.006378, allocations: 130 kB / 331.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.006617, allocations: 363.2 kB / 331.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.006781, allocations: 199.3 kB / 331.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.006832, allocations: 52 kB / 331.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.23e-05/0.006874, allocations: 52 kB / 331.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.006936, allocations: 123.5 kB / 331.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.007047, allocations: 195.5 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.007441, allocations: 0.6462 MB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.007442, allocations: 4 kB / 332.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007443, allocations: 0 / 332.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.007448, allocations: 0 / 332.8 MB, free: 8.324 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.0008228/0.008271, allocations: 0.7894 MB / 333.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.008299, allocations: 11.98 kB / 333.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.008362, allocations: 68.52 kB / 333.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.008651, allocations: 293.3 kB / 333.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.008678, allocations: 41.69 kB / 334 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.008723, allocations: 56.38 kB / 334 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.009191, allocations: 435 kB / 334.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009202, allocations: 192 / 334.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.009227, allocations: 23.94 kB / 334.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.009237, allocations: 15.98 kB / 334.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.009709, allocations: 385 kB / 334.9 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.01105, allocations: 1.256 MB / 336.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.01146, allocations: 308.8 kB / 336.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.01168, allocations: 168.3 kB / 336.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.0117, allocations: 8.328 kB / 336.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.01172, allocations: 38.88 kB / 336.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.292e-06/0.01172, allocations: 0 / 336.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.001721/0.01344, allocations: 1.188 MB / 337.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.01347, allocations: 55.91 kB / 337.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.01374, allocations: 409.4 kB / 338.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.01377, allocations: 37.7 kB / 338.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.0139, allocations: 316.5 kB / 338.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.01398, allocations: 190.4 kB / 338.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01409, allocations: 122.2 kB / 338.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.01418, allocations: 350.8 kB / 339.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.01442, allocations: 185.2 kB / 339.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.0147, allocations: 303 kB / 339.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.01523, allocations: 496.2 kB / 340.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01523, allocations: 4 kB / 340.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008219/0.01605, allocations: 0.7291 MB / 341 MB, free: 15.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01607, allocations: 8 kB / 341 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01608, allocations: 4 kB / 341 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.0164, allocations: 184.9 kB / 341.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01664, allocations: 111.8 kB / 341.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.01912, allocations: 3.973 MB / 345.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.01929, allocations: 31.92 kB / 345.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.01931, allocations: 23.98 kB / 345.3 MB, free: 11.29 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.0001374/0.01945, allocations: 185.8 kB / 345.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.01949, allocations: 47.67 kB / 345.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.01955, allocations: 61.02 kB / 345.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01955, allocations: 4 kB / 345.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.01956, allocations: 4 kB / 345.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01957, allocations: 3.984 kB / 345.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.02079, allocations: 1.141 MB / 346.7 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.0208, allocations: 8.125 kB / 346.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.02094, allocations: 67.89 kB / 346.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.02117, allocations: 169.5 kB / 347 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.02119, allocations: 8 kB / 347 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.02338, allocations: 3.815 MB / 350.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02338, allocations: 0 / 350.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.02406, allocations: 0.6889 MB / 351.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.0241, allocations: 51.59 kB / 351.6 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.02413, allocations: 8 kB / 351.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.02425, allocations: 23.98 kB / 351.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.02432, allocations: 48.41 kB / 351.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.02433, allocations: 16 kB / 351.6 MB, free: 4.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.02451, allocations: 271.2 kB / 351.9 MB, free: 4.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02451, allocations: 0 / 351.9 MB, free: 4.379 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.0249, allocations: 156 kB / 352.1 MB, free: 4.227 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 8.798e-05/0.02499, allocations: 115 kB / 352.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.0258, allocations: 0.7656 MB / 352.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.0258, allocations: 0 / 352.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.02622, allocations: 0.5166 MB / 353.5 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.02647, allocations: 37.5 kB / 353.5 MB, free: 2.734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.02751, allocations: 0.9767 MB / 354.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.02766, allocations: 263 kB / 354.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.02775, allocations: 32.5 kB / 354.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02775, allocations: 0 / 354.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of Templates: time 0.007442/0.03519, allocations: 10.04 MB / 364.8 MB, free: 7.336 MB / 330.7 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.766104696318507]