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.001343/0.001343, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001498/0.001498, allocations: 167.6 kB / 25 MB, free: 8.871 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.613 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 1.323e-06/1.323e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.111e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004219/0.00424, allocations: 3.511 MB / 276.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.005747, allocations: 0.9385 MB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.005948, allocations: 12 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.006187, allocations: 99.03 kB / 277.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.006543, allocations: 170.6 kB / 277.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.00686, allocations: 179.6 kB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.007422, allocations: 0.6502 MB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.007643, allocations: 134 kB / 278.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.00813, allocations: 367.2 kB / 279.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.008364, allocations: 199.4 kB / 279.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.00843, allocations: 52 kB / 279.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-05/0.008497, allocations: 52 kB / 279.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.00858, allocations: 131.4 kB / 279.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.008737, allocations: 187.5 kB / 279.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.009153, allocations: 418.3 kB / 280.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.00916, allocations: 7.984 kB / 280.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009162, allocations: 0 / 280.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.009168, allocations: 0 / 280.1 MB, free: 10.73 MB / 266.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.001096/0.01026, allocations: 0.8893 MB / 281 MB, free: 9.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.0103, allocations: 8.031 kB / 281 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.01044, allocations: 108.5 kB / 281.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.01081, allocations: 292.2 kB / 281.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.01085, allocations: 45.69 kB / 281.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.01092, allocations: 52.38 kB / 281.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.01149, allocations: 343.7 kB / 281.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.0115, allocations: 4.188 kB / 281.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.01154, allocations: 23.94 kB / 281.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.01156, allocations: 12 kB / 281.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.01192, allocations: 207.7 kB / 282.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.01336, allocations: 1.27 MB / 283.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.01373, allocations: 233.3 kB / 283.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.01392, allocations: 120.2 kB / 283.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.01394, allocations: 4.328 kB / 283.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.01397, allocations: 45.66 kB / 283.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.804e-06/0.01397, allocations: 4 kB / 283.8 MB, free: 6.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001501/0.01547, allocations: 0.9075 MB / 284.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.0155, allocations: 59.91 kB / 284.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.01582, allocations: 442.5 kB / 285.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.01585, allocations: 33.64 kB / 285.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.01602, allocations: 375.4 kB / 285.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.01612, allocations: 194.3 kB / 285.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.01624, allocations: 116 kB / 285.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.01655, allocations: 0.5274 MB / 286.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.0167, allocations: 89.25 kB / 286.5 MB, free: 4.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.01692, allocations: 250.8 kB / 286.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.0173, allocations: 375.9 kB / 287.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.0173, allocations: 4 kB / 287.1 MB, free: 3.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006931/0.01799, allocations: 0.5818 MB / 287.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01801, allocations: 8.406 kB / 287.7 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.01802, allocations: 8 kB / 287.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.01864, allocations: 239.1 kB / 287.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.01888, allocations: 107.8 kB / 288 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.0217, allocations: 4.791 MB / 292.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.02188, allocations: 20 kB / 292.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.02191, allocations: 27.98 kB / 292.9 MB, free: 13.37 MB / 282.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.0001391/0.02205, allocations: 188.4 kB / 293 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.02211, allocations: 71.61 kB / 293.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.02233, allocations: 65.06 kB / 293.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02233, allocations: 4 kB / 293.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.02235, allocations: 8 kB / 293.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02235, allocations: 3.984 kB / 293.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.02352, allocations: 1.028 MB / 294.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02352, allocations: 0 / 294.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.02366, allocations: 59.91 kB / 294.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.02417, allocations: 235.1 kB / 294.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.02419, allocations: 8 kB / 294.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.02644, allocations: 4.667 MB / 299.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02644, allocations: 4 kB / 299.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.027, allocations: 0.6198 MB / 299.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.02704, allocations: 39.7 kB / 299.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.02707, allocations: 15.94 kB / 299.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.0272, allocations: 19.98 kB / 299.9 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.02728, allocations: 48.41 kB / 299.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.02729, allocations: 16 kB / 299.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.02748, allocations: 279.1 kB / 300.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02748, allocations: 8 kB / 300.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006122/0.02809, allocations: 152 kB / 300.4 MB, free: 5.48 MB / 282.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.0001108/0.0282, allocations: 111.1 kB / 300.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007357/0.02893, allocations: 0.7483 MB / 301.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02894, allocations: 0 / 301.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.02931, allocations: 0.5703 MB / 301.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.02961, allocations: 52.69 kB / 301.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.03072, allocations: 0.9172 MB / 302.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.405e-05/0.0308, allocations: 130.3 kB / 302.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.03092, allocations: 44.25 kB / 302.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.03098, allocations: 28.5 kB / 303 MB, free: 2.73 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03098, allocations: 0 / 303 MB, free: 2.73 MB / 282.7 MB Notification: Performance of Templates: time 0.1121/0.143, allocations: 5.219 MB / 308.2 MB, free: 41.16 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9161836861167103]