Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002674, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002434, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08813/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.296e-05, allocations: 5.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006481/0.006504, allocations: 5.001 MB / 249.7 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.0104, allocations: 2.171 MB / 251.9 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.01082, allocations: 16 kB / 251.9 MB, free: 7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.01309, allocations: 1.485 MB / 253.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.01417, allocations: 425.1 kB / 253.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.01623, allocations: 1.148 MB / 254.9 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009588/0.01718, allocations: 0.7742 MB / 255.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.01818, allocations: 0.5773 MB / 256.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.01896, allocations: 0.4999 MB / 256.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.01931, allocations: 339.1 kB / 257.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.01938, allocations: 68 kB / 257.2 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.02022, allocations: 419.2 kB / 257.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.02031, allocations: 123.6 kB / 257.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.02048, allocations: 207.6 kB / 257.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.02138, allocations: 0.8175 MB / 258.7 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.02139, allocations: 7.922 kB / 258.7 MB, free: 112 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0214, allocations: 3.938 kB / 258.8 MB, free: 108 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.02141, allocations: 0 / 258.8 MB, free: 108 kB / 250.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.002422/0.02383, allocations: 1.682 MB / 260.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.02386, allocations: 8.031 kB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.02519, allocations: 0.5235 MB / 261 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.02533, allocations: 200.7 kB / 261.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.02538, allocations: 62.38 kB / 261.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.02548, allocations: 84.38 kB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.02607, allocations: 0.6441 MB / 261.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.02609, allocations: 192 / 261.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.02614, allocations: 39.94 kB / 262 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.02615, allocations: 20 kB / 262 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.02652, allocations: 293.8 kB / 262.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.02861, allocations: 1.914 MB / 264.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.02899, allocations: 339.4 kB / 264.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.02909, allocations: 94.31 kB / 264.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.973e-05/0.02919, allocations: 28.47 kB / 264.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.02921, allocations: 39.06 kB / 264.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.312e-06/0.02921, allocations: 4 kB / 264.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001839/0.03105, allocations: 1.028 MB / 265.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.03108, allocations: 55.91 kB / 265.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.03124, allocations: 302.6 kB / 266.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.03127, allocations: 33.7 kB / 266.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.03139, allocations: 375.8 kB / 266.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.03148, allocations: 210.2 kB / 266.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.0316, allocations: 130.6 kB / 266.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.03168, allocations: 354.7 kB / 267.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.03177, allocations: 73.97 kB / 267.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.03196, allocations: 349.3 kB / 267.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.03231, allocations: 491.3 kB / 268.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.03231, allocations: 7.938 kB / 268.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004167/0.03273, allocations: 462.9 kB / 268.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.03275, allocations: 11.98 kB / 268.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.03276, allocations: 8 kB / 268.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.03303, allocations: 93.8 kB / 268.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.03337, allocations: 183.8 kB / 268.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/0.03431, allocations: 2.392 MB / 271.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.03454, allocations: 83.41 kB / 271.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.03456, allocations: 31.98 kB / 271.3 MB, free: 2.859 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001172/0.03468, allocations: 153.6 kB / 271.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.03473, allocations: 51.95 kB / 271.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.03511, allocations: 348.5 kB / 271.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.03511, allocations: 8 kB / 271.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.03511, allocations: 0 / 271.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.03512, allocations: 7.922 kB / 271.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.03574, allocations: 0.6549 MB / 272.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.03574, allocations: 0 / 272.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.03597, allocations: 107.9 kB / 272.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.03606, allocations: 67.56 kB / 272.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.03629, allocations: 85.59 kB / 272.8 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.03631, allocations: 8 kB / 272.8 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008746/0.03718, allocations: 2.365 MB / 275.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03718, allocations: 4 kB / 275.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.03759, allocations: 492.4 kB / 275.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.03763, allocations: 12 kB / 275.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.03776, allocations: 19.98 kB / 275.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.03781, allocations: 40.36 kB / 275.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.03783, allocations: 15.98 kB / 275.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.0379, allocations: 104.6 kB / 275.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0379, allocations: 0 / 275.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000369/0.03827, allocations: 219.5 kB / 276 MB, free: 13.88 MB / 282.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 (55): * Single equations (assignments): 53 * 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.0001598/0.03843, allocations: 150.6 kB / 276.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.03886, allocations: 0.5632 MB / 276.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.03887, allocations: 8.5 kB / 276.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.03914, allocations: 427.6 kB / 277.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.03942, allocations: 319.4 kB / 277.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.04435, allocations: 1.125 MB / 278.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.04443, allocations: 140.1 kB / 278.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.04462, allocations: 80.39 kB / 278.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.04479, allocations: 127.3 kB / 278.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.04479, allocations: 0 / 278.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008622/0.05341, allocations: 6.627 MB / 285.6 MB, free: 4.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.573254520073533]