Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.96/0.96, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.84e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004724/0.004742, allocations: 3.519 MB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.006393, allocations: 0.9462 MB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.006603, allocations: 11.94 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.006889, allocations: 91.16 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.007311, allocations: 178.5 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.007682, allocations: 175.7 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.008324, allocations: 0.6576 MB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.008574, allocations: 126 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.008997, allocations: 371.1 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.009275, allocations: 203.4 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.595e-05/0.009361, allocations: 52 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.009443, allocations: 52 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.009538, allocations: 131.4 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.009732, allocations: 195.5 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.01021, allocations: 410.3 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01021, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01022, allocations: 0 / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.01022, allocations: 0 / 280.1 MB, free: 10.41 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0013/0.01152, allocations: 0.8971 MB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.01156, allocations: 8.031 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.01167, allocations: 108.5 kB / 281.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.01195, allocations: 296.2 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.01198, allocations: 41.69 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.01203, allocations: 48.38 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.01245, allocations: 347.8 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.01247, allocations: 192 / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.0125, allocations: 23.94 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.01251, allocations: 12 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.01281, allocations: 211.7 kB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.01419, allocations: 1.267 MB / 283.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.01454, allocations: 233.2 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.01472, allocations: 116.2 kB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.01474, allocations: 8.328 kB / 283.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01476, allocations: 41.72 kB / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.01476, allocations: 0 / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001417/0.01618, allocations: 0.9193 MB / 284.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.01621, allocations: 55.91 kB / 284.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.01651, allocations: 438.5 kB / 285.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01654, allocations: 41.7 kB / 285.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01669, allocations: 363.3 kB / 285.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.01678, allocations: 198.2 kB / 285.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01689, allocations: 119.9 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01703, allocations: 0.5274 MB / 286.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.01717, allocations: 93.23 kB / 286.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.01737, allocations: 254.7 kB / 286.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.01773, allocations: 371.9 kB / 287 MB, free: 3.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01773, allocations: 0 / 287 MB, free: 3.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006428/0.01837, allocations: 0.5861 MB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01838, allocations: 8 kB / 287.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01839, allocations: 4 kB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.01899, allocations: 235.2 kB / 287.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.01923, allocations: 111.8 kB / 288 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1096/0.1288, allocations: 4.771 MB / 292.7 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.1291, allocations: 26.94 kB / 292.8 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.1291, allocations: 23.05 kB / 292.8 MB, free: 21.96 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.1292, allocations: 192.2 kB / 293 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.1293, allocations: 67.81 kB / 293 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.1294, allocations: 59.47 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1294, allocations: 6.141 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.1294, allocations: 6.062 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1294, allocations: 3.969 kB / 293.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1306, allocations: 1.034 MB / 294.1 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1306, allocations: 1.906 kB / 294.1 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1307, allocations: 59.75 kB / 294.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.1313, allocations: 231.8 kB / 294.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1313, allocations: 12.52 kB / 294.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.1332, allocations: 4.659 MB / 299.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1332, allocations: 2.719 kB / 299.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1338, allocations: 0.6181 MB / 299.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.1338, allocations: 55.53 kB / 299.8 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1338, allocations: 10.62 kB / 299.8 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.134, allocations: 20.42 kB / 299.8 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.1341, allocations: 42.61 kB / 299.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1341, allocations: 15.11 kB / 299.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1343, allocations: 282.5 kB / 300.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1343, allocations: 1.859 kB / 300.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004787/0.1347, allocations: 151.2 kB / 300.3 MB, free: 17.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.992e-05/0.1348, allocations: 111.2 kB / 300.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007478/0.1356, allocations: 0.7482 MB / 301.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1356, allocations: 0 / 301.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.1359, allocations: 0.5683 MB / 301.7 MB, free: 16.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1362, allocations: 50.86 kB / 301.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1373, allocations: 0.9185 MB / 302.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.1374, allocations: 131.4 kB / 302.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1375, allocations: 46.34 kB / 302.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.1376, allocations: 38.36 kB / 302.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1376, allocations: 3.25 kB / 302.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Templates: time 0.008655/0.1462, allocations: 5.415 MB / 308.3 MB, free: 14.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.895030585117638]