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.001856/0.001856, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.00207/0.00207, allocations: 153.1 kB / 24.26 MB, free: 156 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.499/1.499, allocations: 173.4 MB / 200.8 MB, free: 9.273 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.342e-06/1.342e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.777e-05, allocations: 6.25 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004935/0.004963, allocations: 2.663 MB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.006677, allocations: 0.7165 MB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.006915, allocations: 8 kB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.007211, allocations: 71.31 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.007597, allocations: 103.1 kB / 270.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.007945, allocations: 99.84 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.008514, allocations: 422.2 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.008738, allocations: 79.36 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.009193, allocations: 243.3 kB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.009424, allocations: 123.6 kB / 271.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.009496, allocations: 36 kB / 271.9 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.009566, allocations: 32 kB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.009654, allocations: 83.66 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.009821, allocations: 119.7 kB / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.01036, allocations: 410.7 kB / 272.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01036, allocations: 0 / 272.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01036, allocations: 4 kB / 272.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.01037, allocations: 0 / 272.5 MB, free: 1.484 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.001476/0.01185, allocations: 0.5714 MB / 273.1 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.0119, allocations: 16.86 kB / 273.1 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.01207, allocations: 64.7 kB / 273.2 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.0126, allocations: 230 kB / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.01264, allocations: 25.03 kB / 273.4 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.0127, allocations: 28.38 kB / 273.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.01339, allocations: 286.6 kB / 273.7 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01341, allocations: 192 / 273.7 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.01344, allocations: 16.38 kB / 273.7 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.01347, allocations: 11.94 kB / 273.7 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.01417, allocations: 250.5 kB / 274 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.01629, allocations: 0.8869 MB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.01673, allocations: 150.1 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.01693, allocations: 60.83 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.01696, allocations: 8 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.017, allocations: 34.55 kB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.017, allocations: 0 / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002492/0.0195, allocations: 0.6062 MB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.01956, allocations: 55.41 kB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.02004, allocations: 277.8 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.02007, allocations: 29.7 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.02035, allocations: 240 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.02046, allocations: 75.38 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.02061, allocations: 73.59 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.02084, allocations: 334.8 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.02118, allocations: 99.72 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.02163, allocations: 196 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.02241, allocations: 305.2 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02242, allocations: 0 / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001146/0.02356, allocations: 425.3 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.02358, allocations: 7.938 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.0236, allocations: 4 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.0242, allocations: 77.72 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.02458, allocations: 75.88 kB / 277.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.02735, allocations: 2.588 MB / 280.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.02766, allocations: 23.94 kB / 280.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.02771, allocations: 19.98 kB / 280.6 MB, free: 8.887 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.0001946/0.0279, allocations: 149.7 kB / 280.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.02798, allocations: 31.86 kB / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.02806, allocations: 38.27 kB / 280.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02807, allocations: 8 kB / 280.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.02807, allocations: 0 / 280.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02808, allocations: 0 / 280.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.02845, allocations: 225.2 kB / 281 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.02845, allocations: 0 / 281 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.02868, allocations: 35.97 kB / 281.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.02918, allocations: 85.77 kB / 281.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.0292, allocations: 7.938 kB / 281.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.03196, allocations: 2.584 MB / 283.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.03196, allocations: 3.938 kB / 283.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.03282, allocations: 383.8 kB / 284.1 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.03288, allocations: 23.84 kB / 284.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.03291, allocations: 8.062 kB / 284.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.03315, allocations: 15.98 kB / 284.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.03323, allocations: 23.89 kB / 284.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.03325, allocations: 8 kB / 284.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.03348, allocations: 185.2 kB / 284.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03348, allocations: 0 / 284.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000437/0.03392, allocations: 76 kB / 284.4 MB, free: 4.75 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.0001509/0.03407, allocations: 107.2 kB / 284.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.03515, allocations: 473.3 kB / 285 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03515, allocations: 4.25 kB / 285 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.03575, allocations: 337.1 kB / 285.3 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.03612, allocations: 28.48 kB / 285.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.03744, allocations: 0.5428 MB / 285.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.03763, allocations: 168.8 kB / 286.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.03777, allocations: 30.31 kB / 286.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.03784, allocations: 20.5 kB / 286.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03785, allocations: 4 kB / 286.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of Templates: time 0.008234/0.04608, allocations: 2.872 MB / 289 MB, free: 140 kB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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.332364007015713]