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.001305/0.001305, allocations: 82.25 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001404/0.001404, allocations: 159.7 kB / 24.5 MB, free: 3.719 MB / 14.72 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.408/1.408, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 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 0.003076/0.003076, allocations: 65.8 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09877, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006877/0.1056, allocations: 4.564 MB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.1095, allocations: 2.008 MB / 385.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.1099, allocations: 16 kB / 385.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.1132, allocations: 1.365 MB / 386.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1143, allocations: 417 kB / 387.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.1166, allocations: 1.14 MB / 388.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009136/0.1175, allocations: 0.7356 MB / 389.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.1184, allocations: 0.5598 MB / 389.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.1188, allocations: 342.8 kB / 390.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.1193, allocations: 382.3 kB / 390.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1195, allocations: 68 kB / 390.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.1202, allocations: 395.6 kB / 390.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1204, allocations: 163.4 kB / 391.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.1207, allocations: 302.6 kB / 391.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1221, allocations: 1.214 MB / 392.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1221, allocations: 0 / 392.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1221, allocations: 0 / 392.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1221, allocations: 0 / 392.6 MB, free: 1.762 MB / 350.1 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.004411/0.1265, allocations: 1.402 MB / 394 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1266, allocations: 11.98 kB / 394 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.1293, allocations: 372.1 kB / 394.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1295, allocations: 190.3 kB / 394.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.1296, allocations: 66.38 kB / 394.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.1297, allocations: 84.36 kB / 394.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.1315, allocations: 0.8973 MB / 395.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.1315, allocations: 7.953 kB / 395.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.1316, allocations: 32 kB / 395.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.1316, allocations: 20 kB / 395.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.1335, allocations: 0.7886 MB / 396.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.1377, allocations: 2.296 MB / 398.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1388, allocations: 0.5115 MB / 399.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.1394, allocations: 222.2 kB / 399.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.1395, allocations: 28.48 kB / 399.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1395, allocations: 51.03 kB / 399.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.924e-06/0.1395, allocations: 0 / 399.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007436/0.1469, allocations: 2.159 MB / 401.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.147, allocations: 85.61 kB / 401.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1474, allocations: 311.8 kB / 402.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.1474, allocations: 33.7 kB / 402.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.1477, allocations: 375.9 kB / 402.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.1478, allocations: 218.1 kB / 402.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.1481, allocations: 150.5 kB / 402.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1482, allocations: 350.7 kB / 403.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.149, allocations: 269.8 kB / 403.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.15, allocations: 0.5216 MB / 404 MB, free: 5.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.1519, allocations: 0.8127 MB / 404.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1519, allocations: 4 kB / 404.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00216/0.154, allocations: 0.8971 MB / 405.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.154, allocations: 11.28 kB / 405.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1541, allocations: 8 kB / 405.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.1543, allocations: 69.67 kB / 405.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/0.1552, allocations: 199.6 kB / 405.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.1574, allocations: 2.604 MB / 408.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.158, allocations: 67.97 kB / 408.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.1581, allocations: 39.98 kB / 408.7 MB, free: 0.9141 MB / 366.1 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.0003124/0.1584, allocations: 217.5 kB / 408.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.1585, allocations: 35.77 kB / 408.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.1605, allocations: 0.7257 MB / 409.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.1606, allocations: 15.94 kB / 409.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1606, allocations: 0 / 409.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1606, allocations: 0 / 409.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.1632, allocations: 1.216 MB / 410.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1632, allocations: 3.938 kB / 410.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.1639, allocations: 131.8 kB / 411 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.1641, allocations: 57.67 kB / 411.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.1641, allocations: 16 kB / 411.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.1663, allocations: 2.592 MB / 413.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1663, allocations: 0 / 413.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.169, allocations: 1.074 MB / 414.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.1692, allocations: 83.67 kB / 414.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.1692, allocations: 12 kB / 414.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.1697, allocations: 43.95 kB / 414.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1698, allocations: 52.53 kB / 414.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.1699, allocations: 16 kB / 414.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.1701, allocations: 203 kB / 415.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 8.062 kB / 415.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007199/0.1708, allocations: 176 kB / 415.3 MB, free: 9.961 MB / 382.1 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.0002602/0.1711, allocations: 155.1 kB / 415.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.1731, allocations: 0.8807 MB / 416.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1731, allocations: 0 / 416.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1741, allocations: 0.5196 MB / 416.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1745, allocations: 47.72 kB / 416.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.177, allocations: 1.204 MB / 418.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1773, allocations: 282.6 kB / 418.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.1777, allocations: 88.38 kB / 418.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.1778, allocations: 52.47 kB / 418.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1778, allocations: 0 / 418.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of Templates: time 0.01303/0.1909, allocations: 6.377 MB / 424.9 MB, free: 368 kB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/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.517181652947329]