Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001402/0.001402, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001455/0.001455, allocations: 145.5 kB / 24.54 MB, free: 36 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 0.9357/0.9357, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.418e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006618/0.006642, allocations: 7.941 MB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.01014, allocations: 2.552 MB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.01072, allocations: 27.88 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.01185, allocations: 0.5207 MB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.01268, allocations: 0.5 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.01305, allocations: 239.7 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.01426, allocations: 1.493 MB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.01475, allocations: 375.2 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/0.0157, allocations: 0.8456 MB / 282.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.01621, allocations: 466.6 kB / 282.9 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.01635, allocations: 136 kB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.01662, allocations: 164 kB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.01676, allocations: 282.9 kB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.01709, allocations: 450.9 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.01802, allocations: 0.9028 MB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01802, allocations: 0 / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01802, allocations: 0 / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.01804, allocations: 0 / 284.9 MB, free: 5.492 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001697/0.01974, allocations: 1.488 MB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.01979, allocations: 8.922 kB / 286.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.02032, allocations: 256.1 kB / 286.6 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009317/0.02125, allocations: 0.649 MB / 287.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.0213, allocations: 78 kB / 287.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.02142, allocations: 103.9 kB / 287.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.02254, allocations: 0.7872 MB / 288.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.02257, allocations: 4 kB / 288.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.02264, allocations: 43.94 kB / 288.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.02266, allocations: 27.98 kB / 288.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.02334, allocations: 339.7 kB / 288.6 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/0.1337, allocations: 3.621 MB / 292.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.134, allocations: 200.6 kB / 292.4 MB, free: 26.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1341, allocations: 86.84 kB / 292.5 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1342, allocations: 6.656 kB / 292.5 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1342, allocations: 42.3 kB / 292.6 MB, free: 26.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.1342, allocations: 0 / 292.6 MB, free: 26.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001237/0.1354, allocations: 0.8384 MB / 293.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1355, allocations: 81.94 kB / 293.5 MB, free: 26.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.1361, allocations: 0.7459 MB / 294.2 MB, free: 25.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1361, allocations: 30.58 kB / 294.3 MB, free: 25.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.1364, allocations: 0.644 MB / 294.9 MB, free: 25.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.1364, allocations: 139 kB / 295 MB, free: 25.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1365, allocations: 134.6 kB / 295.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1366, allocations: 0.5614 MB / 295.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1368, allocations: 71.81 kB / 295.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.137, allocations: 0.5405 MB / 296.3 MB, free: 24.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1373, allocations: 0.6275 MB / 297 MB, free: 23.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.1373, allocations: 2.406 kB / 297 MB, free: 23.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006375/0.138, allocations: 0.5768 MB / 297.6 MB, free: 23.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.138, allocations: 10.12 kB / 297.6 MB, free: 23.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.138, allocations: 10.06 kB / 297.6 MB, free: 23.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.1381, allocations: 36.61 kB / 297.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.1384, allocations: 156.5 kB / 297.8 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005517/0.139, allocations: 1.742 MB / 299.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1393, allocations: 33.64 kB / 299.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.1393, allocations: 39.22 kB / 299.6 MB, free: 21.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.1394, allocations: 204.3 kB / 299.8 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.1395, allocations: 90.7 kB / 299.9 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.1398, allocations: 278.3 kB / 300.1 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1398, allocations: 4.953 kB / 300.1 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1398, allocations: 5.031 kB / 300.1 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1398, allocations: 1.875 kB / 300.1 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1409, allocations: 1.028 MB / 301.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1409, allocations: 2.688 kB / 301.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1411, allocations: 78.23 kB / 301.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.424e-05/0.1411, allocations: 24.12 kB / 301.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1412, allocations: 7.469 kB / 301.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004052/0.1416, allocations: 1.732 MB / 303 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1416, allocations: 2.766 kB / 303 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.142, allocations: 0.5548 MB / 303.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1422, allocations: 107.1 kB / 303.7 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.1422, allocations: 13.62 kB / 303.7 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1424, allocations: 18.09 kB / 303.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.1424, allocations: 34.3 kB / 303.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1424, allocations: 12.91 kB / 303.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004085/0.1429, allocations: 469 kB / 304.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1429, allocations: 4 kB / 304.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000518/0.1434, allocations: 189.7 kB / 304.4 MB, free: 18.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.1435, allocations: 119.9 kB / 304.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.144, allocations: 471.2 kB / 305 MB, free: 18.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.144, allocations: 1.062 kB / 305 MB, free: 18.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1442, allocations: 276.5 kB / 305.3 MB, free: 18.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.1448, allocations: 194.2 kB / 305.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1468, allocations: 1.586 MB / 307 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.1469, allocations: 162.4 kB / 307.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.1471, allocations: 93.88 kB / 307.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.1472, allocations: 51.73 kB / 307.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1472, allocations: 0 / 307.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of Templates: time 0.01329/0.1605, allocations: 9.57 MB / 316.9 MB, free: 11.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.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.9981651180423796]