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.002128/0.002128, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002402/0.002402, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.513/1.513, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.432e-06/1.432e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.396e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007081/0.007105, allocations: 4.586 MB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.01086, allocations: 2.012 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.01107, allocations: 16 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.0144, allocations: 1.369 MB / 280.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01543, allocations: 429.1 kB / 280.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.01786, allocations: 1.128 MB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009581/0.01882, allocations: 0.7586 MB / 282.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.01976, allocations: 0.5714 MB / 283.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.02041, allocations: 482.9 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.0209, allocations: 327.1 kB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.02101, allocations: 64 kB / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007357/0.02174, allocations: 399.3 kB / 284.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.02191, allocations: 171.3 kB / 284.5 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.02221, allocations: 247.4 kB / 284.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.02381, allocations: 1.262 MB / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.02381, allocations: 0 / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02381, allocations: 0 / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.02382, allocations: 0 / 286 MB, free: 3.953 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.004465/0.02828, allocations: 1.398 MB / 287.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.02833, allocations: 15.98 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.03112, allocations: 0.492 MB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.03138, allocations: 209.4 kB / 288.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.03145, allocations: 58.38 kB / 288.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.03161, allocations: 84.38 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.03347, allocations: 0.8936 MB / 289.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.0335, allocations: 8.188 kB / 289.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.0336, allocations: 32.38 kB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.03362, allocations: 27.94 kB / 289.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1014/0.135, allocations: 0.7712 MB / 290 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.1391, allocations: 2.325 MB / 292.3 MB, free: 27.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1401, allocations: 0.5054 MB / 292.8 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.1406, allocations: 224.8 kB / 293 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/0.1407, allocations: 25.55 kB / 293 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1407, allocations: 38.91 kB / 293.1 MB, free: 26.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.265e-06/0.1407, allocations: 0 / 293.1 MB, free: 26.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007144/0.1478, allocations: 2.187 MB / 295.3 MB, free: 25.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1479, allocations: 85.19 kB / 295.3 MB, free: 25.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1482, allocations: 308.1 kB / 295.7 MB, free: 25.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.1482, allocations: 30.98 kB / 295.7 MB, free: 25.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1484, allocations: 375.1 kB / 296 MB, free: 25.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1485, allocations: 225 kB / 296.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.1487, allocations: 150.9 kB / 296.4 MB, free: 25.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.1488, allocations: 348.2 kB / 296.8 MB, free: 24.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.1495, allocations: 264.8 kB / 297 MB, free: 24.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.1503, allocations: 0.5272 MB / 297.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.1518, allocations: 0.8056 MB / 298.3 MB, free: 23.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1518, allocations: 2.094 kB / 298.3 MB, free: 23.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001978/0.1538, allocations: 0.9332 MB / 299.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1538, allocations: 8.875 kB / 299.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1538, allocations: 11.41 kB / 299.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/0.1544, allocations: 88.73 kB / 299.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/0.1552, allocations: 203.7 kB / 299.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.1565, allocations: 2.61 MB / 302.2 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.1571, allocations: 64.98 kB / 302.3 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.1572, allocations: 34.8 kB / 302.3 MB, free: 20.86 MB / 266.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.0002561/0.1575, allocations: 217.9 kB / 302.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1576, allocations: 64.61 kB / 302.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.1594, allocations: 0.7274 MB / 303.3 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1594, allocations: 7.969 kB / 303.3 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1594, allocations: 2.938 kB / 303.3 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1594, allocations: 3.188 kB / 303.3 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.1617, allocations: 1.211 MB / 304.5 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1617, allocations: 0 / 304.5 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.1624, allocations: 133 kB / 304.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.1628, allocations: 86.05 kB / 304.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.1628, allocations: 21.11 kB / 304.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.164, allocations: 2.597 MB / 307.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.164, allocations: 0 / 307.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.1663, allocations: 1.093 MB / 308.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.1665, allocations: 94 kB / 308.5 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.1666, allocations: 11.28 kB / 308.5 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.1671, allocations: 46.58 kB / 308.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.1672, allocations: 50.23 kB / 308.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.1672, allocations: 15.84 kB / 308.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.1674, allocations: 199.7 kB / 308.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1674, allocations: 0 / 308.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007058/0.1681, allocations: 175.6 kB / 309 MB, free: 16.42 MB / 266.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.0002245/0.1683, allocations: 167.5 kB / 309.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.1699, allocations: 0.8741 MB / 310.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1699, allocations: 0 / 310.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.1707, allocations: 0.5253 MB / 310.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.1712, allocations: 65.02 kB / 310.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1733, allocations: 1.156 MB / 311.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.1734, allocations: 282.6 kB / 312.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.1738, allocations: 88.38 kB / 312.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1739, allocations: 48.48 kB / 312.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1739, allocations: 0.9844 kB / 312.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.1841, allocations: 6.4 MB / 318.6 MB, free: 7.512 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.59894786705263]