Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001801/0.001801, 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.002384/0.002384, allocations: 211.9 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.475/1.475, allocations: 230.5 MB / 258.1 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2522, allocations: 53.41 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004431/0.2566, allocations: 2.879 MB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2581, allocations: 0.8022 MB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.2583, allocations: 7.938 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2585, allocations: 67.42 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2588, allocations: 107.2 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.2591, allocations: 115.7 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2595, allocations: 390.5 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2597, allocations: 99.33 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.26, allocations: 179.3 kB / 437.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2603, allocations: 167.2 kB / 437.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.2603, allocations: 35.98 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.2604, allocations: 36 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.2605, allocations: 79.69 kB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2607, allocations: 179.1 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.2611, allocations: 403.5 kB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2612, allocations: 0 / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2612, allocations: 4 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2612, allocations: 0 / 438 MB, free: 1.211 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001235/0.2624, allocations: 0.5831 MB / 438.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2624, allocations: 8.031 kB / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.2625, allocations: 40.7 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2629, allocations: 233.6 kB / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2629, allocations: 25.03 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.263, allocations: 28.38 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.2636, allocations: 302.3 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2636, allocations: 0 / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2636, allocations: 16 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2637, allocations: 8 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.2643, allocations: 254.5 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.266, allocations: 1.045 MB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.2664, allocations: 146.2 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2666, allocations: 72.67 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2666, allocations: 0 / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2666, allocations: 42.55 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.2666, allocations: 0 / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002027/0.2686, allocations: 0.5975 MB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2687, allocations: 55.41 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.269, allocations: 288.1 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.269, allocations: 29.7 kB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2692, allocations: 236.1 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.2693, allocations: 75.38 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2694, allocations: 65.66 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2695, allocations: 334.8 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.2698, allocations: 99.94 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.2702, allocations: 196 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.2708, allocations: 297.1 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2708, allocations: 4 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008602/0.2716, allocations: 401.1 kB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2717, allocations: 8 kB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2717, allocations: 4 kB / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.2719, allocations: 61.95 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.2723, allocations: 75.89 kB / 443.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.2745, allocations: 2.626 MB / 446.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.2748, allocations: 23.98 kB / 446.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2748, allocations: 12 kB / 446.2 MB, free: 8.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001866/0.275, allocations: 161.7 kB / 446.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.2751, allocations: 31.81 kB / 446.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.2751, allocations: 34.23 kB / 446.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2751, allocations: 4 kB / 446.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2752, allocations: 0 / 446.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2752, allocations: 7.984 kB / 446.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.2756, allocations: 312.5 kB / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2756, allocations: 0 / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.2758, allocations: 39.97 kB / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.2759, allocations: 53.67 kB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.276, allocations: 8 kB / 446.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.2781, allocations: 2.626 MB / 449.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2781, allocations: 0 / 449.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.2788, allocations: 376.9 kB / 449.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.2789, allocations: 23.75 kB / 449.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.2789, allocations: 11.94 kB / 449.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2791, allocations: 23.97 kB / 449.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.2792, allocations: 11.97 kB / 449.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2792, allocations: 12 kB / 449.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.2794, allocations: 203.1 kB / 450.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2794, allocations: 0 / 450.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.2799, allocations: 72 kB / 450.2 MB, free: 4.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001427/0.28, allocations: 107.2 kB / 450.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.281, allocations: 481.7 kB / 450.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.281, allocations: 4 kB / 450.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.2816, allocations: 333.2 kB / 451.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.2819, allocations: 35.03 kB / 451.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2831, allocations: 0.583 MB / 451.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2835, allocations: 0.7753 MB / 452.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.2836, allocations: 27.38 kB / 452.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2836, allocations: 4 kB / 452.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Templates: time 0.008966/0.2926, allocations: 6.128 MB / 458.6 MB, free: 11.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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: 7.568516535917297]