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.002111/0.002111, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001758/0.001758, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.001977/0.001977, allocations: 63.89 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2617, allocations: 53.4 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004398/0.2661, allocations: 2.677 MB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2675, allocations: 0.7516 MB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2677, allocations: 4 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.2679, allocations: 71.36 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.2682, allocations: 107.2 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2685, allocations: 111.8 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.2689, allocations: 394.5 kB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.2691, allocations: 91.33 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.2694, allocations: 175.3 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2696, allocations: 151.2 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.2697, allocations: 36 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.2698, allocations: 32 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.2698, allocations: 79.73 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.27, allocations: 147.2 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.2704, allocations: 415.9 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2704, allocations: 0 / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2704, allocations: 0 / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2705, allocations: 0 / 437.6 MB, free: 1.324 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.001179/0.2716, allocations: 0.5792 MB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2717, allocations: 15.92 kB / 438.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.2717, allocations: 40.7 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.2722, allocations: 229.6 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.2722, allocations: 25.03 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.2723, allocations: 32.38 kB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.2729, allocations: 290.4 kB / 438.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2729, allocations: 0 / 438.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2729, allocations: 12 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2729, allocations: 8 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.2736, allocations: 250.5 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.2753, allocations: 0.878 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.2757, allocations: 141.6 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2759, allocations: 72.72 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.2759, allocations: 7.938 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2759, allocations: 34.56 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2759, allocations: 0 / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002171/0.2781, allocations: 0.5938 MB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2782, allocations: 55.41 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.2785, allocations: 285.7 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2785, allocations: 29.7 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.2787, allocations: 236 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.2788, allocations: 83.3 kB / 441.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2789, allocations: 65.66 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2791, allocations: 342.8 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.2794, allocations: 99.86 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.2798, allocations: 192 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.2805, allocations: 309.1 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2805, allocations: 0 / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009414/0.2814, allocations: 397 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2814, allocations: 4.406 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2814, allocations: 8 kB / 442.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.2817, allocations: 65.59 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.282, allocations: 71.89 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.2844, allocations: 2.58 MB / 445.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.2847, allocations: 27.97 kB / 445.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2847, allocations: 12 kB / 445.6 MB, free: 8.82 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.0001868/0.2849, allocations: 157.8 kB / 445.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.285, allocations: 27.8 kB / 445.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.2851, allocations: 34.27 kB / 445.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2851, allocations: 4 kB / 445.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2851, allocations: 0 / 445.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2851, allocations: 0 / 445.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.2854, allocations: 229.1 kB / 446 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2854, allocations: 3.938 kB / 446 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2856, allocations: 39.91 kB / 446.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.2858, allocations: 61.67 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2858, allocations: 4 kB / 446.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.2879, allocations: 2.572 MB / 448.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2879, allocations: 8.031 kB / 448.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.2886, allocations: 368.8 kB / 449.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.2887, allocations: 31.92 kB / 449.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.2887, allocations: 8 kB / 449.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2889, allocations: 11.98 kB / 449.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.289, allocations: 23.95 kB / 449.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.289, allocations: 7.938 kB / 449.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.2892, allocations: 197.2 kB / 449.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2892, allocations: 3.938 kB / 449.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.2896, allocations: 76 kB / 449.4 MB, free: 4.699 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.0001545/0.2898, allocations: 99.25 kB / 449.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.2909, allocations: 469.9 kB / 450 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2909, allocations: 8.062 kB / 450 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.2914, allocations: 340.8 kB / 450.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2918, allocations: 39.55 kB / 450.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2931, allocations: 0.5828 MB / 451 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.2932, allocations: 168.8 kB / 451.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.2933, allocations: 23.42 kB / 451.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2933, allocations: 0 / 451.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Templates: time 0.009267/0.3026, allocations: 6.245 MB / 457.4 MB, free: 12.65 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.568599173799157]