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.0007971/0.0007971, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003569/0.003569, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8507/0.8507, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.041e-05, allocations: 7.062 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002654/0.002684, allocations: 2.668 MB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.003643, allocations: 0.771 MB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.003768, allocations: 7.938 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.003975, allocations: 55.45 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004215, allocations: 111.1 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.004419, allocations: 107.7 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.004716, allocations: 406.3 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.004886, allocations: 99.02 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.005214, allocations: 243.4 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.005347, allocations: 131.6 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.005389, allocations: 36 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.926e-05/0.005419, allocations: 32 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.005467, allocations: 79.67 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.005552, allocations: 127.7 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.005871, allocations: 406.7 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005873, allocations: 3.938 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005874, allocations: 3.938 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.00588, allocations: 0 / 331 MB, free: 10.12 MB / 298.7 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.0008139/0.006694, allocations: 0.583 MB / 331.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.00674, allocations: 11.98 kB / 331.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.006808, allocations: 40.7 kB / 331.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.007126, allocations: 217.2 kB / 331.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.007156, allocations: 29.03 kB / 331.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.0072, allocations: 32.38 kB / 331.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.007593, allocations: 294.5 kB / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.007607, allocations: 192 / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.00763, allocations: 12.38 kB / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.00764, allocations: 11.94 kB / 332.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.008015, allocations: 254.5 kB / 332.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.009051, allocations: 0.8752 MB / 333.4 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.009282, allocations: 142.6 kB / 333.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.009382, allocations: 64.77 kB / 333.6 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.009403, allocations: 4 kB / 333.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.009422, allocations: 34.56 kB / 333.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.009424, allocations: 0 / 333.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001164/0.01059, allocations: 0.6026 MB / 334.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.01062, allocations: 55.41 kB / 334.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.01082, allocations: 285.7 kB / 334.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01083, allocations: 29.7 kB / 334.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01094, allocations: 232.1 kB / 334.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01098, allocations: 79.36 kB / 334.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.01105, allocations: 65.66 kB / 334.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.01114, allocations: 338.8 kB / 335.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.01129, allocations: 103.9 kB / 335.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.01148, allocations: 188 kB / 335.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.01183, allocations: 309.1 kB / 335.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01183, allocations: 0 / 335.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004909/0.01232, allocations: 409.3 kB / 336.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01234, allocations: 8 kB / 336.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01235, allocations: 4 kB / 336.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.01254, allocations: 61.67 kB / 336.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.01272, allocations: 67.89 kB / 336.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.01415, allocations: 2.572 MB / 339 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01428, allocations: 31.97 kB / 339 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.0143, allocations: 12 kB / 339 MB, free: 1.621 MB / 298.7 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.0001067/0.0144, allocations: 157.8 kB / 339.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.01443, allocations: 23.86 kB / 339.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.01447, allocations: 38.14 kB / 339.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01448, allocations: 4.141 kB / 339.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01448, allocations: 0 / 339.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01448, allocations: 3.984 kB / 339.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.01466, allocations: 229.1 kB / 339.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01466, allocations: 4 kB / 339.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.01475, allocations: 39.97 kB / 339.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.01486, allocations: 53.67 kB / 339.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01487, allocations: 7.938 kB / 339.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.01595, allocations: 2.569 MB / 342.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01596, allocations: 3.938 kB / 342.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.01635, allocations: 371.8 kB / 342.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.01638, allocations: 35.92 kB / 342.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.01639, allocations: 4 kB / 342.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.01649, allocations: 15.98 kB / 342.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.01655, allocations: 23.95 kB / 342.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.01656, allocations: 4 kB / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.0167, allocations: 197.2 kB / 342.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0167, allocations: 0 / 342.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01695, allocations: 76 kB / 342.9 MB, free: 13.52 MB / 314.7 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.0001064/0.01706, allocations: 103.2 kB / 343 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.01763, allocations: 481.5 kB / 343.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01764, allocations: 0 / 343.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.0179, allocations: 337.1 kB / 343.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01815, allocations: 28.48 kB / 343.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.01889, allocations: 0.5707 MB / 344.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.019, allocations: 164.8 kB / 344.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.01906, allocations: 28.48 kB / 344.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01906, allocations: 0 / 344.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Templates: time 0.005332/0.02439, allocations: 6.249 MB / 350.8 MB, free: 5.465 MB / 314.7 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.788345713168383]