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.001889/0.001889, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002259/0.002259, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.656/1.656, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.002059/0.002059, allocations: 55.91 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.245, allocations: 53.41 MB / 432.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006906/0.2519, allocations: 5.152 MB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.2559, allocations: 2.183 MB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.2563, allocations: 16 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.2597, allocations: 1.415 MB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.261, allocations: 429.3 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.2635, allocations: 1.228 MB / 442.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2647, allocations: 0.7394 MB / 443.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.2657, allocations: 0.5807 MB / 444.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.2663, allocations: 346.8 kB / 444.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.2668, allocations: 426.3 kB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.267, allocations: 71.94 kB / 445 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.2679, allocations: 415.7 kB / 445.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.2681, allocations: 167.4 kB / 445.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.2684, allocations: 386.1 kB / 446 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.2702, allocations: 1.218 MB / 447.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2702, allocations: 0 / 447.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2702, allocations: 0 / 447.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.2703, allocations: 0 / 447.2 MB, free: 7.977 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.004553/0.2748, allocations: 1.421 MB / 448.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2749, allocations: 8.031 kB / 448.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.2774, allocations: 360.1 kB / 449 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2778, allocations: 205.6 kB / 449.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.2778, allocations: 66.36 kB / 449.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.278, allocations: 84.38 kB / 449.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.28, allocations: 0.8757 MB / 450.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.2801, allocations: 7.953 kB / 450.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.2801, allocations: 28 kB / 450.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.2802, allocations: 20 kB / 450.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.2821, allocations: 0.8042 MB / 451 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005097/0.2872, allocations: 2.771 MB / 453.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2883, allocations: 0.5123 MB / 454.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.2888, allocations: 214.2 kB / 454.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.289, allocations: 28.47 kB / 454.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.289, allocations: 43 kB / 454.6 MB, free: 300 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.695e-06/0.289, allocations: 4 kB / 454.6 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00746/0.2965, allocations: 2.156 MB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.2965, allocations: 93.55 kB / 456.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.297, allocations: 324.3 kB / 457.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.297, allocations: 33.7 kB / 457.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2973, allocations: 375.9 kB / 457.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2975, allocations: 226.1 kB / 457.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2978, allocations: 138.6 kB / 457.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.298, allocations: 358.7 kB / 458.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.2987, allocations: 277.8 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009634/0.2997, allocations: 0.5043 MB / 459.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.3014, allocations: 0.8049 MB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3014, allocations: 4 kB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002149/0.3036, allocations: 0.8971 MB / 460.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3036, allocations: 15.88 kB / 460.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3036, allocations: 8 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.3039, allocations: 73.77 kB / 460.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.3048, allocations: 191.7 kB / 461 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.3074, allocations: 2.653 MB / 463.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.3081, allocations: 64.02 kB / 463.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.3082, allocations: 35.98 kB / 463.8 MB, free: 6.547 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.0003247/0.3085, allocations: 217.6 kB / 464 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3086, allocations: 47.66 kB / 464 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.3106, allocations: 0.726 MB / 464.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3106, allocations: 8 kB / 464.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3106, allocations: 3.938 kB / 464.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3106, allocations: 11.86 kB / 464.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.3135, allocations: 1.38 MB / 466.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3135, allocations: 4 kB / 466.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.3142, allocations: 131.8 kB / 466.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.3144, allocations: 65.59 kB / 466.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.3144, allocations: 16 kB / 466.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.3167, allocations: 2.638 MB / 469 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3167, allocations: 4.125 kB / 469 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.3193, allocations: 1.085 MB / 470.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3195, allocations: 91.58 kB / 470.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.3196, allocations: 12 kB / 470.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.3201, allocations: 43.95 kB / 470.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3202, allocations: 44.41 kB / 470.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.3203, allocations: 20.05 kB / 470.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.3205, allocations: 223.1 kB / 470.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3205, allocations: 0 / 470.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007487/0.3213, allocations: 176 kB / 470.7 MB, free: 15.29 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.0003078/0.3216, allocations: 175 kB / 470.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.3236, allocations: 0.8806 MB / 471.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3236, allocations: 4.188 kB / 471.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.3247, allocations: 0.5156 MB / 472.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3252, allocations: 52.97 kB / 472.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.3279, allocations: 1.24 MB / 473.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.3285, allocations: 0.8771 MB / 474.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3287, allocations: 67.39 kB / 474.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3287, allocations: 0 / 474.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01878/0.3475, allocations: 13.62 MB / 488.1 MB, free: 13.75 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/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: 8.184313822072]