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.0009183/0.0009183, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008886/0.0008886, allocations: 165.1 kB / 24.91 MB, free: 9.184 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.8475/0.8475, allocations: 177 MB / 205.2 MB, free: 5.441 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.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.449e-05, allocations: 2.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003354/0.003368, allocations: 2.838 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.004247, allocations: 0.7979 MB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.004345, allocations: 4 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.004498, allocations: 71.36 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.004684, allocations: 107.2 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.004851, allocations: 111.7 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.005117, allocations: 410.2 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.005248, allocations: 89.95 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.005507, allocations: 251.4 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.005631, allocations: 127.6 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.005664, allocations: 32 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.005694, allocations: 39.94 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.005737, allocations: 75.72 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.005814, allocations: 127.7 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.006016, allocations: 262.9 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.006017, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006018, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006021, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.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.0005532/0.006574, allocations: 0.5582 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.006602, allocations: 11.98 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.006655, allocations: 48.91 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006848, allocations: 181.2 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.006869, allocations: 21.03 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.006902, allocations: 36.38 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007118, allocations: 215.3 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.007126, allocations: 192 / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.007143, allocations: 16.38 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.007151, allocations: 11.94 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007253, allocations: 80.55 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.008013, allocations: 0.7561 MB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.008129, allocations: 78.53 kB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.008163, allocations: 28.84 kB / 280.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.008178, allocations: 4 kB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.008194, allocations: 30.56 kB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.008195, allocations: 0 / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006742/0.008869, allocations: 409.1 kB / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.00889, allocations: 51.41 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.009024, allocations: 256.9 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.009038, allocations: 33.7 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.009112, allocations: 216 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.009144, allocations: 79.33 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.009202, allocations: 65.66 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.009269, allocations: 342.7 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.009307, allocations: 27.92 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.009391, allocations: 135.8 kB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.009524, allocations: 193.1 kB / 282.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009525, allocations: 0 / 282.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002163/0.009741, allocations: 233.3 kB / 282.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.009751, allocations: 4 kB / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.009757, allocations: 4 kB / 282.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.009987, allocations: 81.91 kB / 282.8 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.01018, allocations: 63.91 kB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009057/0.01109, allocations: 2.369 MB / 285.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01119, allocations: 27.92 kB / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.0112, allocations: 8 kB / 285.3 MB, free: 4.785 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 7.359e-05/0.01127, allocations: 129.7 kB / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.0113, allocations: 23.98 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.01133, allocations: 30.27 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01134, allocations: 4 kB / 285.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01134, allocations: 4.031 kB / 285.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01134, allocations: 7.922 kB / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01148, allocations: 157.8 kB / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01148, allocations: 0 / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.01155, allocations: 31.98 kB / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.01172, allocations: 73.64 kB / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.01173, allocations: 0 / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008099/0.01254, allocations: 2.369 MB / 288.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01254, allocations: 0 / 288.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01271, allocations: 241 kB / 288.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01273, allocations: 23.8 kB / 288.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01275, allocations: 8 kB / 288.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.01282, allocations: 8.141 kB / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.01286, allocations: 31.88 kB / 288.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.01286, allocations: 0 / 288.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.985e-05/0.01292, allocations: 90.77 kB / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01292, allocations: 32 / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.01313, allocations: 76 kB / 288.6 MB, free: 1.266 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 6.618e-05/0.01319, allocations: 80.42 kB / 288.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01347, allocations: 372.9 kB / 289 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.01347, allocations: 12.12 kB / 289 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01362, allocations: 297.9 kB / 289.3 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01385, allocations: 32.48 kB / 289.4 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.01457, allocations: 0.5389 MB / 289.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01468, allocations: 92.17 kB / 290 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.259e-05/0.01475, allocations: 30.27 kB / 290 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.01483, allocations: 87.36 kB / 290.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01483, allocations: 0 / 290.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.004543/0.01938, allocations: 3.003 MB / 293.1 MB, free: 12.7 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4094026503153145]