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.001004/0.001004, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001012/0.001012, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.8989/0.8989, allocations: 177 MB / 204.8 MB, free: 5.594 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.893e-06/1.893e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.483e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006812/0.006836, allocations: 5.03 MB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.01056, allocations: 2.098 MB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.01092, allocations: 16 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.01384, allocations: 1.485 MB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01492, allocations: 429.1 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.01711, allocations: 1.163 MB / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.018, allocations: 0.7664 MB / 283.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.01913, allocations: 0.5792 MB / 284.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006239/0.01975, allocations: 490.9 kB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.02022, allocations: 335.1 kB / 285.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.02034, allocations: 68 kB / 285.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.02105, allocations: 407.3 kB / 285.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.02118, allocations: 175.3 kB / 285.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.02144, allocations: 255.3 kB / 286.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.0226, allocations: 0.8993 MB / 287.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.0226, allocations: 0 / 287.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0226, allocations: 0 / 287.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.02262, allocations: 3.938 kB / 287.1 MB, free: 3.227 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.003783/0.0264, allocations: 1.517 MB / 288.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.02644, allocations: 11.98 kB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.02882, allocations: 0.492 MB / 289.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.02904, allocations: 215.6 kB / 289.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.0291, allocations: 58.38 kB / 289.4 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.02923, allocations: 88.33 kB / 289.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.03062, allocations: 0.7124 MB / 290.2 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.03065, allocations: 4.172 kB / 290.2 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.03073, allocations: 43.94 kB / 290.2 MB, free: 0 / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09446/0.1252, allocations: 17.33 kB / 290.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.1261, allocations: 431.6 kB / 290.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1289, allocations: 2.287 MB / 292.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.1295, allocations: 422.7 kB / 293.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1297, allocations: 132.5 kB / 293.5 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-05/0.1297, allocations: 29.66 kB / 293.5 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1298, allocations: 40.66 kB / 293.6 MB, free: 17.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.156e-06/0.1298, allocations: 0 / 293.6 MB, free: 17.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002279/0.132, allocations: 1.331 MB / 294.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1321, allocations: 85.27 kB / 295 MB, free: 17.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1323, allocations: 371.8 kB / 295.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1323, allocations: 39.56 kB / 295.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1324, allocations: 424.7 kB / 295.8 MB, free: 17.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.1325, allocations: 224.2 kB / 296 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.1327, allocations: 156.4 kB / 296.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.1328, allocations: 0.5236 MB / 296.7 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.133, allocations: 119 kB / 296.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1332, allocations: 497 kB / 297.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.1338, allocations: 0.6228 MB / 297.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.1338, allocations: 2.844 kB / 297.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008052/0.1346, allocations: 0.656 MB / 298.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1346, allocations: 8.438 kB / 298.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1346, allocations: 8.562 kB / 298.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.135, allocations: 106.7 kB / 298.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.1354, allocations: 181.7 kB / 298.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.1363, allocations: 3.547 MB / 302.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1366, allocations: 43.73 kB / 302.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1366, allocations: 34.67 kB / 302.5 MB, free: 12 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.0001364/0.1368, allocations: 210.6 kB / 302.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.1369, allocations: 62.11 kB / 302.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/0.1375, allocations: 0.4884 MB / 303.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1375, allocations: 7.312 kB / 303.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1375, allocations: 1.812 kB / 303.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1375, allocations: 2.531 kB / 303.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1386, allocations: 1.019 MB / 304.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1386, allocations: 0 / 304.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.1389, allocations: 114.9 kB / 304.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.1392, allocations: 91.78 kB / 304.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.1392, allocations: 18.97 kB / 304.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007809/0.14, allocations: 3.539 MB / 308 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.14, allocations: 0.6562 kB / 308 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.1407, allocations: 0.6933 MB / 308.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1408, allocations: 93.17 kB / 308.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.1409, allocations: 12.34 kB / 308.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1411, allocations: 31.41 kB / 308.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.1411, allocations: 51.86 kB / 308.9 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1412, allocations: 23.64 kB / 308.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1413, allocations: 231.2 kB / 309.2 MB, free: 7 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1413, allocations: 0 / 309.2 MB, free: 7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000476/0.1418, allocations: 180 kB / 309.3 MB, free: 6.977 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.0001974/0.142, allocations: 165.3 kB / 309.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.1427, allocations: 0.7553 MB / 310.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1427, allocations: 1.938 kB / 310.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.143, allocations: 0.5372 MB / 310.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1432, allocations: 57.08 kB / 310.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1447, allocations: 1.099 MB / 311.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.15e-05/0.1447, allocations: 136 kB / 312.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.1449, allocations: 87.44 kB / 312.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.145, allocations: 50.81 kB / 312.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.145, allocations: 0 / 312.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of Templates: time 0.008572/0.1536, allocations: 7.132 MB / 319.3 MB, free: 1.594 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.7519716140814126]