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.001926/0.001926, allocations: 91.61 kB / 20.96 MB, free: 3.441 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.002/0.002, allocations: 156.9 kB / 24.27 MB, free: 140 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.605 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.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.39e-05, allocations: 9.266 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.007756/0.00779, allocations: 4.942 MB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.01198, allocations: 2.07 MB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.01233, allocations: 20 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.01596, allocations: 1.47 MB / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.01745, allocations: 437.1 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.02014, allocations: 1.156 MB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.02132, allocations: 0.7664 MB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.02233, allocations: 0.5714 MB / 283.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.02306, allocations: 479 kB / 284.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.02357, allocations: 331.1 kB / 284.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.02368, allocations: 68 kB / 284.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.02462, allocations: 399.3 kB / 284.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.0248, allocations: 171.3 kB / 285.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.02513, allocations: 255.3 kB / 285.3 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.02693, allocations: 1.262 MB / 286.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.02694, allocations: 4 kB / 286.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.02694, allocations: 0 / 286.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.02695, allocations: 0 / 286.6 MB, free: 3.367 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.004758/0.03171, allocations: 1.537 MB / 288.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.03175, allocations: 19.98 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.03461, allocations: 0.492 MB / 288.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.03497, allocations: 212.2 kB / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.03505, allocations: 66.38 kB / 288.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.03524, allocations: 80.38 kB / 289 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1266/0.1618, allocations: 0.9244 MB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.089e-05/0.1619, allocations: 1.531 kB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.1622, allocations: 35.22 kB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1622, allocations: 19.53 kB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.1641, allocations: 0.7451 MB / 290.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.1684, allocations: 2.632 MB / 293.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1694, allocations: 0.5171 MB / 293.8 MB, free: 26.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.1699, allocations: 211.2 kB / 294 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.17, allocations: 30.11 kB / 294.1 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.17, allocations: 45.77 kB / 294.1 MB, free: 26.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.915e-06/0.17, allocations: 0.5938 kB / 294.1 MB, free: 26.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005062/0.1751, allocations: 1.817 MB / 295.9 MB, free: 25.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1751, allocations: 84.08 kB / 296 MB, free: 25.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.1755, allocations: 418.8 kB / 296.4 MB, free: 25.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1755, allocations: 35.23 kB / 296.5 MB, free: 25.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1757, allocations: 432.9 kB / 296.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1758, allocations: 228.4 kB / 297.1 MB, free: 24.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.1761, allocations: 177.6 kB / 297.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1762, allocations: 0.5519 MB / 297.8 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.1768, allocations: 228.9 kB / 298.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.1775, allocations: 0.6066 MB / 298.7 MB, free: 23.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1788, allocations: 0.8577 MB / 299.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1788, allocations: 1.781 kB / 299.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002023/0.1808, allocations: 0.8766 MB / 300.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.1809, allocations: 11.12 kB / 300.4 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.1809, allocations: 9.141 kB / 300.4 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/0.1815, allocations: 95.91 kB / 300.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.1823, allocations: 184.5 kB / 300.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1842, allocations: 3.662 MB / 304.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.1848, allocations: 45.81 kB / 304.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.1849, allocations: 38.55 kB / 304.4 MB, free: 18.93 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.0003386/0.1852, allocations: 265 kB / 304.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.1853, allocations: 58.02 kB / 304.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.187, allocations: 0.6648 MB / 305.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.187, allocations: 6.25 kB / 305.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.187, allocations: 2.188 kB / 305.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.187, allocations: 10.3 kB / 305.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.1896, allocations: 1.332 MB / 306.8 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1897, allocations: 0 / 306.8 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.1902, allocations: 118 kB / 306.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.1907, allocations: 87.23 kB / 307 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.1908, allocations: 14.59 kB / 307 MB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.1923, allocations: 3.652 MB / 310.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1923, allocations: 2.188 kB / 310.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.1941, allocations: 1.055 MB / 311.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.1942, allocations: 76.75 kB / 311.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.1943, allocations: 17.53 kB / 311.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.1947, allocations: 31.17 kB / 311.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1948, allocations: 53.83 kB / 311.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.1948, allocations: 19.45 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.195, allocations: 255.3 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007222/0.1958, allocations: 177.3 kB / 312.3 MB, free: 13.12 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.000227/0.196, allocations: 159.8 kB / 312.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.1974, allocations: 0.9776 MB / 313.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1974, allocations: 0 / 313.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.198, allocations: 0.6445 MB / 314.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1984, allocations: 57.91 kB / 314.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.2004, allocations: 1.158 MB / 315.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.2006, allocations: 281.5 kB / 315.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.2009, allocations: 84.36 kB / 315.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.201, allocations: 60.47 kB / 315.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.201, allocations: 0 / 315.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of Templates: time 0.01091/0.2119, allocations: 6.442 MB / 322.2 MB, free: 3.578 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","/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.854253615019843]