Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001056/0.001056, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.001094/0.001094, allocations: 161.5 kB / 24.82 MB, free: 8.871 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 1.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.445 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.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.247e-05, allocations: 2.312 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007755/0.007767, allocations: 8.014 MB / 281.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.01119, allocations: 2.673 MB / 284 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.01161, allocations: 27.88 kB / 284.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01267, allocations: 0.5401 MB / 284.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.01343, allocations: 0.5271 MB / 285.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.01382, allocations: 275.6 kB / 285.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.01502, allocations: 1.571 MB / 287 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.01577, allocations: 375.3 kB / 287.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009125/0.01669, allocations: 0.8846 MB / 288.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.0172, allocations: 482.5 kB / 288.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.01735, allocations: 136 kB / 288.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.01761, allocations: 180 kB / 289 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.01778, allocations: 286.8 kB / 289.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.01814, allocations: 474.9 kB / 289.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1045/0.1227, allocations: 0.9498 MB / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1227, allocations: 0 / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1227, allocations: 4.469 kB / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.083e-05/0.1227, allocations: 0 / 290.7 MB, free: 18.95 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001681/0.1244, allocations: 1.546 MB / 292.2 MB, free: 18.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1244, allocations: 15 kB / 292.3 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.1249, allocations: 280.3 kB / 292.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.1256, allocations: 0.6779 MB / 293.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.1257, allocations: 74.33 kB / 293.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1258, allocations: 103.2 kB / 293.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.1266, allocations: 0.769 MB / 294.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.1266, allocations: 8.734 kB / 294.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1267, allocations: 42.34 kB / 294.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1267, allocations: 25.52 kB / 294.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.1271, allocations: 281.9 kB / 294.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.13, allocations: 3.677 MB / 298.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1303, allocations: 262.1 kB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1306, allocations: 180 kB / 298.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1306, allocations: 8.938 kB / 298.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1306, allocations: 41.95 kB / 298.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.472e-06/0.1306, allocations: 0 / 298.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001104/0.1317, allocations: 0.8543 MB / 299.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.1318, allocations: 82.78 kB / 299.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.1323, allocations: 0.7431 MB / 300.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1323, allocations: 37.27 kB / 300.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1326, allocations: 0.6555 MB / 301 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.1326, allocations: 170.3 kB / 301.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1327, allocations: 139.3 kB / 301.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1328, allocations: 0.582 MB / 301.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.1329, allocations: 67.73 kB / 302 MB, free: 13.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1331, allocations: 0.5079 MB / 302.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.1335, allocations: 0.612 MB / 303.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1335, allocations: 3.406 kB / 303.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000613/0.1341, allocations: 0.6023 MB / 303.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1341, allocations: 9.281 kB / 303.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1341, allocations: 10.25 kB / 303.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.1343, allocations: 81.31 kB / 303.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.1345, allocations: 157.3 kB / 304 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.1356, allocations: 3.808 MB / 307.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1358, allocations: 33.08 kB / 307.8 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.1358, allocations: 29.81 kB / 307.8 MB, free: 8.938 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.136, allocations: 204.5 kB / 308 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.1361, allocations: 97.34 kB / 308.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.1365, allocations: 355.3 kB / 308.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1365, allocations: 4.844 kB / 308.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1365, allocations: 4.344 kB / 308.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1365, allocations: 3.812 kB / 308.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.1375, allocations: 1.027 MB / 309.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1375, allocations: 1.438 kB / 309.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1376, allocations: 75.12 kB / 309.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.1378, allocations: 64.02 kB / 309.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1378, allocations: 10.47 kB / 309.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.1387, allocations: 3.789 MB / 313.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1387, allocations: 2.844 kB / 313.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.1392, allocations: 0.6328 MB / 314.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1393, allocations: 120.4 kB / 314.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.1394, allocations: 13.84 kB / 314.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1395, allocations: 22.41 kB / 314.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1396, allocations: 44.78 kB / 314.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1396, allocations: 6.062 kB / 314.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000265/0.1399, allocations: 446.8 kB / 314.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1399, allocations: 4.625 kB / 314.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000491/0.1404, allocations: 212.9 kB / 314.9 MB, free: 3.738 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * 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,5,100.0%), (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.0001306/0.1405, allocations: 123.1 kB / 315.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.141, allocations: 0.6535 MB / 315.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.141, allocations: 4 kB / 315.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.1412, allocations: 494.2 kB / 316.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.1418, allocations: 218.7 kB / 316.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1435, allocations: 1.647 MB / 318.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.1436, allocations: 167 kB / 318.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.1439, allocations: 103.6 kB / 318.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.1442, allocations: 264.1 kB / 318.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1442, allocations: 7.188 kB / 318.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of Templates: time 0.01467/0.1588, allocations: 11.15 MB / 329.7 MB, free: 7.285 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.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: 3.0112154777161777]