Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002557/0.002557, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002836/0.002836, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.62e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004727/0.004753, allocations: 2.811 MB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.006287, allocations: 0.7399 MB / 270.9 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.006421, allocations: 4 kB / 270.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.006645, allocations: 63.38 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.006932, allocations: 111.1 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.00721, allocations: 103.8 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.00768, allocations: 414.2 kB / 271.6 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.00787, allocations: 83.36 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.008245, allocations: 243.4 kB / 271.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.008468, allocations: 131.6 kB / 272 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.008548, allocations: 36 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.008613, allocations: 32 kB / 272.1 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.008704, allocations: 83.66 kB / 272.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.008861, allocations: 123.7 kB / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.009385, allocations: 406.7 kB / 272.7 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.009389, allocations: 0 / 272.7 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.00939, allocations: 0 / 272.7 MB, free: 1.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.009397, allocations: 0 / 272.7 MB, free: 1.375 MB / 250.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.00133/0.01073, allocations: 0.6905 MB / 273.4 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.01076, allocations: 8.922 kB / 273.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.01089, allocations: 68.64 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.01126, allocations: 224.9 kB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.0113, allocations: 36.91 kB / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.01135, allocations: 32.38 kB / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.01194, allocations: 270.6 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01195, allocations: 192 / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.01199, allocations: 16.36 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.01201, allocations: 15.92 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.01257, allocations: 226.5 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.01446, allocations: 1.007 MB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.01482, allocations: 151 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.01499, allocations: 59.66 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.01502, allocations: 4 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.01506, allocations: 33.39 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.01506, allocations: 4 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001766/0.01682, allocations: 0.5366 MB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.01687, allocations: 55.39 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.01729, allocations: 376.1 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.01732, allocations: 25.7 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.01754, allocations: 286.8 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.01761, allocations: 75.39 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.01775, allocations: 79.31 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.01804, allocations: 0.5235 MB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.01835, allocations: 83.75 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.01872, allocations: 235.5 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.01932, allocations: 320.8 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01932, allocations: 0 / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008325/0.02015, allocations: 399 kB / 278.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.02017, allocations: 11.94 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.02018, allocations: 4 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.02077, allocations: 87.39 kB / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.02108, allocations: 67.91 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.02414, allocations: 3.645 MB / 282.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.02438, allocations: 15.98 kB / 282.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.02441, allocations: 16 kB / 282.3 MB, free: 7.121 MB / 266.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.0002076/0.02462, allocations: 192.5 kB / 282.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.02469, allocations: 31.86 kB / 282.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.309e-05/0.02478, allocations: 38.2 kB / 282.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.02478, allocations: 7.938 kB / 282.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.02479, allocations: 4.031 kB / 282.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.02479, allocations: 0 / 282.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.02519, allocations: 272.5 kB / 282.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02519, allocations: 0 / 282.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.02537, allocations: 31.98 kB / 282.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/0.02587, allocations: 87.3 kB / 282.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.02589, allocations: 3.938 kB / 282.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.02892, allocations: 3.641 MB / 286.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.02893, allocations: 3.938 kB / 286.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.02965, allocations: 414.9 kB / 287 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.02971, allocations: 27.84 kB / 287 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.02974, allocations: 4 kB / 287 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.02992, allocations: 11.98 kB / 287 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.02999, allocations: 15.97 kB / 287 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.03001, allocations: 8 kB / 287.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.03027, allocations: 253.1 kB / 287.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03027, allocations: 0 / 287.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.03068, allocations: 72 kB / 287.4 MB, free: 1.703 MB / 266.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.0001354/0.03082, allocations: 99.25 kB / 287.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.03182, allocations: 0.5851 MB / 288.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03183, allocations: 0 / 288.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.0324, allocations: 458.5 kB / 288.5 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03274, allocations: 29.3 kB / 288.5 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.03391, allocations: 0.5531 MB / 289.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.0341, allocations: 176.8 kB / 289.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.03422, allocations: 30.28 kB / 289.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.03429, allocations: 20.5 kB / 289.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03429, allocations: 0 / 289.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.008073/0.04236, allocations: 2.883 MB / 292.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.547757568070665]