Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0009348/0.0009348, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0008846/0.0008846, allocations: 166 kB / 24.82 MB, free: 8.918 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.9572/0.9572, allocations: 177 MB / 205.1 MB, free: 5.461 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 3.938 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.292e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004217/0.00423, allocations: 4.898 MB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.006775, allocations: 2.078 MB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.007029, allocations: 16 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.008717, allocations: 1.439 MB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.00947, allocations: 433.1 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.01063, allocations: 1.132 MB / 283.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006601/0.0113, allocations: 0.778 MB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006143/0.01191, allocations: 0.5753 MB / 284.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.01232, allocations: 487 kB / 285.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.01261, allocations: 339 kB / 285.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.01268, allocations: 71.98 kB / 285.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.0132, allocations: 403.3 kB / 286 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.01329, allocations: 167.3 kB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.01344, allocations: 259.3 kB / 286.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.01427, allocations: 0.9032 MB / 287.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01427, allocations: 0 / 287.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01427, allocations: 0 / 287.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01429, allocations: 0 / 287.3 MB, free: 3.207 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.002376/0.01666, allocations: 1.525 MB / 288.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.01669, allocations: 11.98 kB / 288.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.01804, allocations: 0.492 MB / 289.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.01817, allocations: 207.6 kB / 289.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.01821, allocations: 62.38 kB / 289.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.0183, allocations: 92.31 kB / 289.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.01897, allocations: 0.6536 MB / 290.3 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01899, allocations: 4.188 kB / 290.3 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.01904, allocations: 35.94 kB / 290.4 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01905, allocations: 20 kB / 290.4 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.103/0.122, allocations: 345.2 kB / 290.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.1246, allocations: 2.315 MB / 293 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.125, allocations: 385.6 kB / 293.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1252, allocations: 108.8 kB / 293.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.915e-05/0.1252, allocations: 40.61 kB / 293.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1252, allocations: 43.55 kB / 293.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.823e-06/0.1252, allocations: 1.062 kB / 293.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.00184/0.1271, allocations: 1.163 MB / 294.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.1271, allocations: 88.06 kB / 294.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1273, allocations: 363 kB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1273, allocations: 36.55 kB / 295.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1274, allocations: 426.7 kB / 295.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.1275, allocations: 228.2 kB / 295.9 MB, free: 16.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.1277, allocations: 158.7 kB / 296 MB, free: 16.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.1277, allocations: 0.5289 MB / 296.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1279, allocations: 92.36 kB / 296.6 MB, free: 16.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1281, allocations: 473.4 kB / 297.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1285, allocations: 0.5828 MB / 297.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1285, allocations: 1.5 kB / 297.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006467/0.1291, allocations: 0.5909 MB / 298.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1292, allocations: 11.73 kB / 298.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1292, allocations: 8.375 kB / 298.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.1295, allocations: 97.77 kB / 298.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.1298, allocations: 184.3 kB / 298.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007888/0.1306, allocations: 3.499 MB / 302.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.1309, allocations: 40.62 kB / 302.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1309, allocations: 32.27 kB / 302.1 MB, free: 11.65 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.0001177/0.131, allocations: 211.5 kB / 302.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.1311, allocations: 63.33 kB / 302.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.1317, allocations: 452.3 kB / 302.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1317, allocations: 5.656 kB / 302.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1317, allocations: 2.078 kB / 302.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1317, allocations: 6.391 kB / 302.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.1325, allocations: 0.9005 MB / 303.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1325, allocations: 3.25 kB / 303.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.1328, allocations: 118.6 kB / 303.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.1331, allocations: 89.02 kB / 304 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1331, allocations: 13.98 kB / 304 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006869/0.1338, allocations: 3.487 MB / 307.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1338, allocations: 0 / 307.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.1344, allocations: 0.6327 MB / 308.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1345, allocations: 84.64 kB / 308.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1345, allocations: 16.62 kB / 308.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1347, allocations: 30.3 kB / 308.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.1348, allocations: 53.95 kB / 308.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.1348, allocations: 15.17 kB / 308.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1349, allocations: 223.8 kB / 308.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1349, allocations: 0 / 308.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004584/0.1354, allocations: 182.4 kB / 308.7 MB, free: 7.211 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.0001682/0.1356, allocations: 166 kB / 308.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1361, allocations: 0.7109 MB / 309.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1361, allocations: 1.875 kB / 309.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1364, allocations: 0.5213 MB / 310.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1366, allocations: 59.44 kB / 310.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1379, allocations: 1.083 MB / 311.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.818e-05/0.138, allocations: 145 kB / 311.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.1382, allocations: 87.55 kB / 311.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.1384, allocations: 155.5 kB / 311.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1384, allocations: 0 / 311.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of Templates: time 0.008069/0.1465, allocations: 7.158 MB / 318.8 MB, free: 2.312 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.687873794697225]