Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0009355/0.0009355, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.0009281/0.0009281, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9097/0.9097, allocations: 177 MB / 205.9 MB, free: 4.469 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.55e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004215/0.00423, allocations: 4.863 MB / 279 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.006914, allocations: 2.077 MB / 281.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.007211, allocations: 20 kB / 281.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.008891, allocations: 1.435 MB / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007962/0.009687, allocations: 437.1 kB / 283 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.01093, allocations: 1.124 MB / 284.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.01163, allocations: 0.7625 MB / 284.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.01232, allocations: 0.5675 MB / 285.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.01282, allocations: 490.9 kB / 285.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.01314, allocations: 327.2 kB / 286.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.01321, allocations: 68 kB / 286.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.01385, allocations: 403.3 kB / 286.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.533e-05/0.01395, allocations: 171.3 kB / 286.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.01412, allocations: 251.4 kB / 287.1 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.01502, allocations: 0.8992 MB / 288 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01502, allocations: 4 kB / 288 MB, free: 6.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01502, allocations: 0 / 288 MB, free: 6.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.01503, allocations: 0 / 288 MB, free: 6.375 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002396/0.01742, allocations: 1.517 MB / 289.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.01745, allocations: 8.031 kB / 289.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.01886, allocations: 499.9 kB / 290 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.01901, allocations: 200.3 kB / 290.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.01906, allocations: 66.38 kB / 290.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.01916, allocations: 80.33 kB / 290.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.01987, allocations: 0.6575 MB / 291 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.01989, allocations: 4.188 kB / 291 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.01994, allocations: 40.36 kB / 291 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01995, allocations: 23.94 kB / 291.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.02038, allocations: 349.6 kB / 291.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.0228, allocations: 2.315 MB / 293.7 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.02324, allocations: 389.1 kB / 294.1 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.02337, allocations: 116.7 kB / 294.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.02344, allocations: 32.47 kB / 294.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.02346, allocations: 37.89 kB / 294.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.914e-06/0.02346, allocations: 4 kB / 294.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.001946/0.02541, allocations: 1.167 MB / 295.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.02544, allocations: 81.61 kB / 295.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.02565, allocations: 361.8 kB / 295.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.02568, allocations: 33.7 kB / 295.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.02585, allocations: 422.6 kB / 296.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.02596, allocations: 226.1 kB / 296.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.02612, allocations: 164.1 kB / 296.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.02625, allocations: 0.5273 MB / 297.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.02637, allocations: 85.92 kB / 297.3 MB, free: 12.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.02666, allocations: 474.3 kB / 297.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.0271, allocations: 0.5797 MB / 298.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.02711, allocations: 3.938 kB / 298.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006496/0.02776, allocations: 0.5941 MB / 299 MB, free: 10.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02777, allocations: 8 kB / 299 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.02778, allocations: 8 kB / 299 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.02804, allocations: 87.45 kB / 299.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.02843, allocations: 183.7 kB / 299.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.02978, allocations: 3.501 MB / 302.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.03004, allocations: 47.92 kB / 302.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.03007, allocations: 35.98 kB / 302.8 MB, free: 6.641 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.03023, allocations: 208.2 kB / 303 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.03031, allocations: 63.8 kB / 303.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.03086, allocations: 444.9 kB / 303.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.03087, allocations: 11.92 kB / 303.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.03087, allocations: 4 kB / 303.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.03087, allocations: 0 / 303.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.0318, allocations: 0.8937 MB / 304.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.03181, allocations: 0 / 304.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.03209, allocations: 119.9 kB / 304.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.0323, allocations: 75.3 kB / 304.6 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.03232, allocations: 19.98 kB / 304.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.03357, allocations: 3.486 MB / 308.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03357, allocations: 3.984 kB / 308.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.0342, allocations: 0.6308 MB / 308.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.03431, allocations: 79.66 kB / 308.8 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.03435, allocations: 15.98 kB / 308.9 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.03453, allocations: 31.92 kB / 308.9 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.03461, allocations: 48.41 kB / 308.9 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.03463, allocations: 19.92 kB / 309 MB, free: 180 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.03474, allocations: 214.9 kB / 309.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03474, allocations: 0 / 309.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.0352, allocations: 176 kB / 309.3 MB, free: 15.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.03539, allocations: 167.2 kB / 309.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.03601, allocations: 0.7116 MB / 310.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03601, allocations: 0 / 310.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.03634, allocations: 0.5191 MB / 310.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.03661, allocations: 66.2 kB / 310.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.03809, allocations: 1.072 MB / 311.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.03818, allocations: 140.6 kB / 312 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.0384, allocations: 92.45 kB / 312.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.03862, allocations: 150.2 kB / 312.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03862, allocations: 4 kB / 312.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of Templates: time 0.009712/0.04833, allocations: 7.211 MB / 319.5 MB, free: 5.656 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.728090785909444]