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.001428/0.001428, 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.001479/0.001479, allocations: 206.3 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.001923/0.001923, allocations: 71.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2483, allocations: 53.39 MB / 431.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004211/0.2525, allocations: 2.68 MB / 434.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2539, allocations: 0.7516 MB / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.254, allocations: 4 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.2543, allocations: 67.38 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.2545, allocations: 103.2 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2548, allocations: 111.8 kB / 435.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.2552, allocations: 398.5 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2554, allocations: 98.98 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.2557, allocations: 171.4 kB / 436 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2559, allocations: 151.2 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.256, allocations: 36 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.256, allocations: 32 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.2561, allocations: 79.75 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2562, allocations: 147.3 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.2567, allocations: 412.7 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2567, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2567, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2567, allocations: 0 / 436.8 MB, free: 1.188 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.001183/0.2579, allocations: 0.5869 MB / 437.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2579, allocations: 11.98 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.258, allocations: 40.7 kB / 437.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.2584, allocations: 225.6 kB / 437.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.2584, allocations: 21.03 kB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.2585, allocations: 32.38 kB / 437.7 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.2591, allocations: 294.3 kB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2591, allocations: 0 / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2592, allocations: 12 kB / 438 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2592, allocations: 8 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.2598, allocations: 262.4 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.2616, allocations: 0.8664 MB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.262, allocations: 141.8 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.2622, allocations: 68.73 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2622, allocations: 7.938 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.2622, allocations: 38.55 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.477e-06/0.2622, allocations: 3.984 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002127/0.2644, allocations: 0.5938 MB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.2644, allocations: 51.41 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.2647, allocations: 281.8 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2648, allocations: 33.7 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.265, allocations: 244 kB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/0.265, allocations: 71.39 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2651, allocations: 69.64 kB / 440.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2653, allocations: 346.6 kB / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.2656, allocations: 99.94 kB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.266, allocations: 196 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.2666, allocations: 301.1 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2666, allocations: 0 / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009121/0.2676, allocations: 405.4 kB / 442.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2676, allocations: 4 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2676, allocations: 4 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.2679, allocations: 61.61 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.2682, allocations: 75.89 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.2704, allocations: 2.576 MB / 444.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.2707, allocations: 23.98 kB / 444.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2707, allocations: 12 kB / 444.8 MB, free: 8.684 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.0001731/0.2709, allocations: 161.8 kB / 445 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.2709, allocations: 27.73 kB / 445 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.271, allocations: 34.27 kB / 445 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.271, allocations: 4 kB / 445.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.271, allocations: 0 / 445.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.271, allocations: 0 / 445.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.2713, allocations: 229.2 kB / 445.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2713, allocations: 7.938 kB / 445.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2715, allocations: 51.91 kB / 445.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.2717, allocations: 53.67 kB / 445.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2717, allocations: 0 / 445.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.2737, allocations: 2.58 MB / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2737, allocations: 0 / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.2745, allocations: 376.9 kB / 448.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.2745, allocations: 31.8 kB / 448.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2746, allocations: 0 / 448.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2748, allocations: 15.98 kB / 448.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.2748, allocations: 19.97 kB / 448.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2748, allocations: 11.92 kB / 448.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.275, allocations: 193.2 kB / 448.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.275, allocations: 0 / 448.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00039/0.2754, allocations: 72 kB / 448.7 MB, free: 4.562 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.0001261/0.2756, allocations: 115.1 kB / 448.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.2765, allocations: 469.5 kB / 449.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2765, allocations: 0 / 449.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.277, allocations: 344.7 kB / 449.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2774, allocations: 39.97 kB / 449.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2785, allocations: 0.546 MB / 450.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2786, allocations: 172.8 kB / 450.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2787, allocations: 30.27 kB / 450.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.2788, allocations: 19.44 kB / 450.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2788, allocations: 0 / 450.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Templates: time 0.007547/0.2864, allocations: 3.176 MB / 453.6 MB, free: 15.63 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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: 4.502262396737933]