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.00161/0.00161, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00177/0.00177, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.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 0.00195/0.00195, allocations: 71.91 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2298, allocations: 53.42 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006495/0.2363, allocations: 4.573 MB / 436.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2399, allocations: 2.024 MB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2402, allocations: 16 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.2433, allocations: 1.31 MB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2444, allocations: 417.3 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.2467, allocations: 1.128 MB / 441.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009043/0.2476, allocations: 0.7472 MB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.2485, allocations: 0.5661 MB / 442.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.249, allocations: 342.8 kB / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.2495, allocations: 382.3 kB / 443.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2496, allocations: 68 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.2503, allocations: 395.6 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2505, allocations: 163.4 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2508, allocations: 310.5 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.2522, allocations: 1.23 MB / 445.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2522, allocations: 0 / 445.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2522, allocations: 0 / 445.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2522, allocations: 0 / 445.3 MB, free: 8.844 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.00455/0.2568, allocations: 1.412 MB / 446.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2568, allocations: 15.92 kB / 446.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.2608, allocations: 364.1 kB / 447.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.261, allocations: 201.6 kB / 447.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.2611, allocations: 66.38 kB / 447.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.2612, allocations: 88.31 kB / 447.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.263, allocations: 0.8969 MB / 448.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.263, allocations: 11.89 kB / 448.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.2631, allocations: 36 kB / 448.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.2631, allocations: 23.98 kB / 448.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.2651, allocations: 0.7847 MB / 449.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.2695, allocations: 2.293 MB / 451.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2706, allocations: 0.5127 MB / 452 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.2712, allocations: 218.2 kB / 452.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.2713, allocations: 24.48 kB / 452.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2713, allocations: 35.06 kB / 452.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/0.2713, allocations: 3.938 kB / 452.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007567/0.2789, allocations: 2.175 MB / 454.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.2789, allocations: 85.61 kB / 454.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.2793, allocations: 319.9 kB / 454.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2793, allocations: 37.7 kB / 454.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.2796, allocations: 375.9 kB / 455.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.2798, allocations: 218.1 kB / 455.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.28, allocations: 146.5 kB / 455.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2802, allocations: 346.8 kB / 455.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.281, allocations: 273.8 kB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.282, allocations: 0.5333 MB / 456.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.2838, allocations: 0.8048 MB / 457.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2838, allocations: 4 kB / 457.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00218/0.2859, allocations: 0.9011 MB / 458.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.286, allocations: 8 kB / 458.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.286, allocations: 8 kB / 458.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.2862, allocations: 77.59 kB / 458.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/0.2871, allocations: 191.7 kB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.2893, allocations: 2.619 MB / 461.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.29, allocations: 67.89 kB / 461.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.29, allocations: 32 kB / 461.4 MB, free: 7.957 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.0002999/0.2903, allocations: 217.6 kB / 461.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.2904, allocations: 47.78 kB / 461.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.2925, allocations: 0.722 MB / 462.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2925, allocations: 8 kB / 462.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2925, allocations: 0 / 462.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.2925, allocations: 3.984 kB / 462.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.2952, allocations: 1.208 MB / 463.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2952, allocations: 0 / 463.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.2959, allocations: 135.8 kB / 463.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.2961, allocations: 57.67 kB / 463.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.2961, allocations: 19.94 kB / 463.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.2982, allocations: 2.592 MB / 466.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2982, allocations: 3.938 kB / 466.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.3008, allocations: 1.074 MB / 467.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3011, allocations: 91.66 kB / 467.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.3011, allocations: 12 kB / 467.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.3016, allocations: 52 kB / 467.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3018, allocations: 48.34 kB / 467.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.3018, allocations: 23.98 kB / 467.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.302, allocations: 211.1 kB / 467.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.302, allocations: 0 / 467.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006823/0.3027, allocations: 179.9 kB / 468.1 MB, free: 0.9766 MB / 366.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.0002693/0.303, allocations: 167.1 kB / 468.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.305, allocations: 0.8769 MB / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.305, allocations: 0 / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3061, allocations: 0.5195 MB / 469.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3065, allocations: 52.56 kB / 469.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.309, allocations: 1.196 MB / 470.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3093, allocations: 282.7 kB / 471.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.3097, allocations: 88.41 kB / 471.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3099, allocations: 51.41 kB / 471.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3099, allocations: 0 / 471.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01399/0.3239, allocations: 7.181 MB / 478.5 MB, free: 6.562 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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.690999254584312]