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.001532/0.001532, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.00531/0.00531, allocations: 160.5 kB / 24.56 MB, free: 24 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.9124/0.9124, allocations: 177 MB / 204.8 MB, free: 5.191 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.032e-06/1.032e-06, allocations: 0 / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.746e-05, allocations: 9.203 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004256/0.004273, allocations: 5.004 MB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.006713, allocations: 2.086 MB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.006866, allocations: 16 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.008391, allocations: 1.485 MB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007218/0.009112, allocations: 429.1 kB / 281.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.01035, allocations: 1.163 MB / 283.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.01092, allocations: 0.7586 MB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.01151, allocations: 0.5753 MB / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.01189, allocations: 482.9 kB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01216, allocations: 335.1 kB / 285.2 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.01223, allocations: 68 kB / 285.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.01268, allocations: 403.3 kB / 285.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.01276, allocations: 167.3 kB / 285.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.01292, allocations: 259.3 kB / 286.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.01388, allocations: 0.8915 MB / 287 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01388, allocations: 4 kB / 287 MB, free: 3.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01388, allocations: 0 / 287 MB, free: 3.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.01389, allocations: 0 / 287 MB, free: 3.125 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.002269/0.01616, allocations: 1.509 MB / 288.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01619, allocations: 8.031 kB / 288.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.01757, allocations: 495.9 kB / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.01775, allocations: 204.3 kB / 289.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.0178, allocations: 62.38 kB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.0179, allocations: 88.36 kB / 289.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/0.1253, allocations: 0.7084 MB / 290.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-05/0.1254, allocations: 1.031 kB / 290.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.1256, allocations: 34.62 kB / 290.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.1256, allocations: 22.02 kB / 290.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.1264, allocations: 432.7 kB / 290.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.1293, allocations: 2.3 MB / 292.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1299, allocations: 427.7 kB / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1301, allocations: 130 kB / 293.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.1302, allocations: 30.34 kB / 293.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1302, allocations: 42.08 kB / 293.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.134e-06/0.1302, allocations: 0 / 293.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002463/0.1327, allocations: 1.323 MB / 294.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1327, allocations: 87.45 kB / 294.9 MB, free: 17.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1329, allocations: 358.4 kB / 295.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.133, allocations: 35.98 kB / 295.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1331, allocations: 422.5 kB / 295.7 MB, free: 16.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1332, allocations: 221.5 kB / 295.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1334, allocations: 160.1 kB / 296 MB, free: 16.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.1335, allocations: 0.5257 MB / 296.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1337, allocations: 122.7 kB / 296.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.134, allocations: 495.5 kB / 297.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.1345, allocations: 0.6233 MB / 297.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1345, allocations: 2.906 kB / 297.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008207/0.1353, allocations: 0.6457 MB / 298.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1354, allocations: 12.62 kB / 298.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1354, allocations: 6.906 kB / 298.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.1357, allocations: 97.61 kB / 298.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.1361, allocations: 178.7 kB / 298.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/0.1371, allocations: 3.553 MB / 302.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1374, allocations: 50.27 kB / 302.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.1374, allocations: 34.16 kB / 302.4 MB, free: 11.88 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.0001369/0.1376, allocations: 205.8 kB / 302.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.1376, allocations: 59.58 kB / 302.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.1384, allocations: 498.1 kB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1384, allocations: 6.062 kB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1384, allocations: 2.188 kB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1384, allocations: 6.75 kB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.1395, allocations: 1.018 MB / 304.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1395, allocations: 0 / 304.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.1398, allocations: 116.4 kB / 304.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.14, allocations: 83.53 kB / 304.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.1401, allocations: 18.92 kB / 304.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008512/0.1409, allocations: 3.538 MB / 307.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1409, allocations: 0.9844 kB / 307.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.1417, allocations: 0.6965 MB / 308.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1418, allocations: 93.67 kB / 308.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1419, allocations: 11.36 kB / 308.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.142, allocations: 28.61 kB / 308.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.1421, allocations: 52.75 kB / 308.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.1422, allocations: 19.38 kB / 308.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1423, allocations: 223.1 kB / 309 MB, free: 6.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1423, allocations: 0 / 309 MB, free: 6.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.1427, allocations: 177 kB / 309.2 MB, free: 6.922 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.0001975/0.1429, allocations: 166.3 kB / 309.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.1437, allocations: 0.7555 MB / 310.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1437, allocations: 0 / 310.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.144, allocations: 0.5346 MB / 310.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1442, allocations: 58.03 kB / 310.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1458, allocations: 1.098 MB / 311.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.1459, allocations: 136.7 kB / 311.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.1461, allocations: 90.39 kB / 312 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1462, allocations: 49.75 kB / 312.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1462, allocations: 3.812 kB / 312.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of Templates: time 0.007626/0.1538, allocations: 6.435 MB / 318.5 MB, free: 2.266 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=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: 3.082075991202146]