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.0009578/0.0009578, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.0009719/0.0009719, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9966/0.9966, allocations: 177 MB / 204.8 MB, free: 5.586 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.422e-06/1.422e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.561e-05, allocations: 5.266 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009377/0.009402, allocations: 8.219 MB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.01422, allocations: 2.692 MB / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.01506, allocations: 27.88 kB / 283.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.0165, allocations: 0.5478 MB / 284.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.01765, allocations: 0.5271 MB / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.01818, allocations: 271.7 kB / 285.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.01969, allocations: 1.567 MB / 286.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.0203, allocations: 371.3 kB / 287.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.02146, allocations: 0.8923 MB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.02207, allocations: 478.6 kB / 288.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.02224, allocations: 136 kB / 288.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.02255, allocations: 184 kB / 288.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.02274, allocations: 286.8 kB / 289.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.02319, allocations: 478.8 kB / 289.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1155/0.1387, allocations: 0.9393 MB / 290.5 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1387, allocations: 1.562 kB / 290.5 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1387, allocations: 0.6562 kB / 290.5 MB, free: 18.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.574e-05/0.1387, allocations: 0 / 290.5 MB, free: 18.91 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.001798/0.1405, allocations: 1.543 MB / 292 MB, free: 18.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1406, allocations: 13.62 kB / 292 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/0.1411, allocations: 282.1 kB / 292.3 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.142, allocations: 0.6921 MB / 293 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.142, allocations: 72.88 kB / 293.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.1421, allocations: 102.4 kB / 293.2 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.1431, allocations: 0.8291 MB / 294 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.1431, allocations: 8.594 kB / 294 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.1432, allocations: 42.78 kB / 294.1 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1432, allocations: 24.06 kB / 294.1 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.1438, allocations: 359.6 kB / 294.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.1469, allocations: 3.642 MB / 298.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.1473, allocations: 285.3 kB / 298.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.1476, allocations: 201.4 kB / 298.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1476, allocations: 8.844 kB / 298.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1477, allocations: 41.91 kB / 298.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.1477, allocations: 0 / 298.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001637/0.1493, allocations: 1.05 MB / 299.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1493, allocations: 82.61 kB / 299.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.1502, allocations: 0.7753 MB / 300.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1502, allocations: 34.58 kB / 300.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1505, allocations: 0.6514 MB / 301.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.1506, allocations: 165.4 kB / 301.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1507, allocations: 140.7 kB / 301.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1508, allocations: 0.5714 MB / 302.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.151, allocations: 89.75 kB / 302.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.1512, allocations: 0.5173 MB / 302.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.1517, allocations: 0.6385 MB / 303.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1517, allocations: 2.625 kB / 303.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007605/0.1524, allocations: 0.653 MB / 304 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1525, allocations: 11.05 kB / 304 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1525, allocations: 13.62 kB / 304 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.1527, allocations: 75.69 kB / 304.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.153, allocations: 156.6 kB / 304.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1543, allocations: 3.853 MB / 308.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.1547, allocations: 33.97 kB / 308.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1547, allocations: 40.53 kB / 308.1 MB, free: 8.266 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.0001812/0.1549, allocations: 205.3 kB / 308.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.155, allocations: 99.23 kB / 308.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.1554, allocations: 390.9 kB / 308.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1554, allocations: 4.125 kB / 308.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1554, allocations: 1.375 kB / 308.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1554, allocations: 4.656 kB / 308.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1567, allocations: 1.184 MB / 310 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1567, allocations: 1.781 kB / 310 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.1569, allocations: 68.03 kB / 310.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.157, allocations: 71.69 kB / 310.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.157, allocations: 8 kB / 310.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.1581, allocations: 3.848 MB / 314 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1581, allocations: 3.344 kB / 314 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.1587, allocations: 0.662 MB / 314.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.1588, allocations: 121.6 kB / 314.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.1589, allocations: 12.53 kB / 314.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.1591, allocations: 28.67 kB / 314.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.1591, allocations: 35.48 kB / 314.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1592, allocations: 15.34 kB / 314.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003825/0.1595, allocations: 488.6 kB / 315.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1595, allocations: 4 kB / 315.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006209/0.1602, allocations: 209.9 kB / 315.6 MB, free: 2.562 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.0001882/0.1603, allocations: 122.4 kB / 315.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.161, allocations: 0.6858 MB / 316.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.161, allocations: 0 / 316.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.1612, allocations: 0.4971 MB / 316.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.1619, allocations: 218 kB / 317.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.164, allocations: 1.651 MB / 318.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.1641, allocations: 172.3 kB / 318.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.1643, allocations: 100.5 kB / 319 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1644, allocations: 54.06 kB / 319 MB, free: 500 kB / 266.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1644, allocations: 4 kB / 319.1 MB, free: 496 kB / 266.7 MB Notification: Performance of Templates: time 0.01487/0.1793, allocations: 10.97 MB / 330 MB, free: 6.148 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.1089154351502657]