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.002264/0.002264, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002558/0.002558, allocations: 160.8 kB / 24.27 MB, free: 156 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.559/1.559, allocations: 177 MB / 204.4 MB, free: 5.633 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.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.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.019e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007989/0.00802, allocations: 4.98 MB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.01262, allocations: 2.078 MB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.01313, allocations: 16 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.01697, allocations: 1.478 MB / 280.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.01846, allocations: 429.1 kB / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.02112, allocations: 1.16 MB / 282.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.02228, allocations: 0.7703 MB / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.02327, allocations: 0.5753 MB / 283.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.02405, allocations: 490.9 kB / 284.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.02455, allocations: 339.1 kB / 284.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.02467, allocations: 68 kB / 284.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.02559, allocations: 403.3 kB / 285 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.02576, allocations: 167.3 kB / 285.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.02607, allocations: 259.4 kB / 285.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.02785, allocations: 1.265 MB / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.02785, allocations: 0 / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02785, allocations: 0 / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.02787, allocations: 4 kB / 286.6 MB, free: 3.32 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.004734/0.0326, allocations: 1.56 MB / 288.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.03266, allocations: 11.98 kB / 288.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.03545, allocations: 0.492 MB / 288.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.03577, allocations: 207.6 kB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/0.03585, allocations: 66.31 kB / 289 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.03602, allocations: 88.33 kB / 289.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1323/0.1683, allocations: 0.9238 MB / 290 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.1684, allocations: 3.625 kB / 290 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.1685, allocations: 34.56 kB / 290 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1685, allocations: 20.28 kB / 290 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.1705, allocations: 0.7488 MB / 290.8 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.1752, allocations: 2.631 MB / 293.4 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1763, allocations: 0.5262 MB / 293.9 MB, free: 26.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.1767, allocations: 206.4 kB / 294.1 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.1768, allocations: 34.83 kB / 294.2 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1768, allocations: 43.22 kB / 294.2 MB, free: 26.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.1768, allocations: 0 / 294.2 MB, free: 26.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005156/0.182, allocations: 1.815 MB / 296 MB, free: 25.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.182, allocations: 87.98 kB / 296.1 MB, free: 25.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.1824, allocations: 430.4 kB / 296.5 MB, free: 25.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1825, allocations: 37.06 kB / 296.6 MB, free: 24.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1826, allocations: 435.8 kB / 297 MB, free: 24.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1828, allocations: 229.4 kB / 297.2 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.183, allocations: 173.8 kB / 297.4 MB, free: 24.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1831, allocations: 0.546 MB / 297.9 MB, free: 23.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.1837, allocations: 240.4 kB / 298.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.1844, allocations: 0.6102 MB / 298.8 MB, free: 23.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.1858, allocations: 0.8584 MB / 299.7 MB, free: 22.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1858, allocations: 2.031 kB / 299.7 MB, free: 22.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001768/0.1875, allocations: 0.8729 MB / 300.5 MB, free: 22.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1876, allocations: 12.81 kB / 300.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1876, allocations: 12.5 kB / 300.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.1883, allocations: 105.4 kB / 300.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.189, allocations: 180.9 kB / 300.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.1906, allocations: 3.663 MB / 304.5 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.1912, allocations: 44.2 kB / 304.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/0.1913, allocations: 40.77 kB / 304.6 MB, free: 18.63 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.0002711/0.1915, allocations: 267.2 kB / 304.8 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1917, allocations: 59.23 kB / 304.9 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.1933, allocations: 0.6669 MB / 305.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1933, allocations: 5.062 kB / 305.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1933, allocations: 5.281 kB / 305.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.1933, allocations: 4.797 kB / 305.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.1958, allocations: 1.328 MB / 306.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1958, allocations: 0.7969 kB / 306.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.1964, allocations: 122.1 kB / 307 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005904/0.197, allocations: 96.11 kB / 307.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.197, allocations: 15.11 kB / 307.1 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.1985, allocations: 3.654 MB / 310.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1985, allocations: 64 / 310.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2003, allocations: 1.047 MB / 311.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.2005, allocations: 87.05 kB / 311.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.2005, allocations: 14.53 kB / 311.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.2009, allocations: 32.25 kB / 312 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.201, allocations: 56.48 kB / 312 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.2011, allocations: 19.66 kB / 312 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2013, allocations: 263.2 kB / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2013, allocations: 0 / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007366/0.202, allocations: 177.8 kB / 312.5 MB, free: 12.93 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.0002621/0.2023, allocations: 168.6 kB / 312.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2038, allocations: 0.9788 MB / 313.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2038, allocations: 0 / 313.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.2045, allocations: 0.6442 MB / 314.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.2049, allocations: 61.48 kB / 314.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.207, allocations: 1.166 MB / 315.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.2072, allocations: 282.9 kB / 315.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.2075, allocations: 92.39 kB / 315.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2076, allocations: 48.48 kB / 315.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2076, allocations: 0 / 315.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of Templates: time 0.01119/0.2188, allocations: 6.53 MB / 322.4 MB, free: 3.336 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.788585404981859]