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.001403/0.001403, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001557/0.001557, allocations: 160.5 kB / 24.56 MB, free: 8 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.9884/0.9884, allocations: 177 MB / 204.8 MB, free: 5.578 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.212e-06/1.212e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.749e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006351/0.006368, allocations: 8.207 MB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.008956, allocations: 2.696 MB / 283.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.009269, allocations: 27.88 kB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008789/0.01015, allocations: 0.5401 MB / 284.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.01072, allocations: 0.531 MB / 284.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.01102, allocations: 267.6 kB / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.01192, allocations: 1.564 MB / 286.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.01233, allocations: 375.3 kB / 287.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.01312, allocations: 0.8884 MB / 288 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.01354, allocations: 490.5 kB / 288.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01365, allocations: 140 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.01386, allocations: 180 kB / 288.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01401, allocations: 294.9 kB / 289.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.01431, allocations: 474.8 kB / 289.5 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1257/0.14, allocations: 0.9538 MB / 290.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.14, allocations: 0.6562 kB / 290.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.14, allocations: 0.8438 kB / 290.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.14, allocations: 0 / 290.5 MB, free: 18.36 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.001925/0.1419, allocations: 1.544 MB / 292 MB, free: 17.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.142, allocations: 13.77 kB / 292.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.1427, allocations: 281.4 kB / 292.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/0.1436, allocations: 0.6973 MB / 293 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.1436, allocations: 73.97 kB / 293.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.1438, allocations: 107.5 kB / 293.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1453, allocations: 0.8315 MB / 294 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1453, allocations: 3.141 kB / 294 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.1454, allocations: 42.88 kB / 294.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.1454, allocations: 23.28 kB / 294.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.1464, allocations: 357.9 kB / 294.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/0.1505, allocations: 3.648 MB / 298.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.151, allocations: 283.9 kB / 298.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.1514, allocations: 202 kB / 298.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.1515, allocations: 7.469 kB / 298.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1515, allocations: 39.77 kB / 298.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.1515, allocations: 1.156 kB / 298.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001935/0.1534, allocations: 1.051 MB / 299.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1535, allocations: 81.55 kB / 299.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/0.1545, allocations: 0.7672 MB / 300.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1545, allocations: 35.33 kB / 300.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.1549, allocations: 0.6509 MB / 301.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.155, allocations: 170.6 kB / 301.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.1551, allocations: 141.2 kB / 301.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1553, allocations: 0.5735 MB / 302.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1555, allocations: 84.16 kB / 302.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.1558, allocations: 0.5278 MB / 302.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.1563, allocations: 0.6431 MB / 303.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1563, allocations: 3.031 kB / 303.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001107/0.1574, allocations: 0.6433 MB / 304 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1574, allocations: 16.41 kB / 304 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.1575, allocations: 9.312 kB / 304 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1577, allocations: 76.11 kB / 304.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.1582, allocations: 156.9 kB / 304.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1594, allocations: 3.86 MB / 308.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1596, allocations: 29.12 kB / 308.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1596, allocations: 38.62 kB / 308.2 MB, free: 8.047 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.0001479/0.1598, allocations: 207.1 kB / 308.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.1599, allocations: 99.56 kB / 308.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1603, allocations: 387.3 kB / 308.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1603, allocations: 5.062 kB / 308.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1603, allocations: 5.156 kB / 308.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1603, allocations: 3.047 kB / 308.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1614, allocations: 1.175 MB / 310 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1614, allocations: 3.406 kB / 310 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1616, allocations: 74.42 kB / 310.1 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.1617, allocations: 70.78 kB / 310.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1617, allocations: 7.906 kB / 310.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/0.1627, allocations: 3.85 MB / 314 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1627, allocations: 2.656 kB / 314 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.1632, allocations: 0.6658 MB / 314.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1633, allocations: 115.2 kB / 314.8 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.1634, allocations: 17.44 kB / 314.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1636, allocations: 21.62 kB / 314.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.1636, allocations: 38.62 kB / 314.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1636, allocations: 17.75 kB / 314.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.164, allocations: 483.3 kB / 315.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.164, allocations: 0 / 315.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004848/0.1645, allocations: 215.2 kB / 315.6 MB, free: 2.34 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.0001495/0.1646, allocations: 128.8 kB / 315.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.1652, allocations: 0.6823 MB / 316.4 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1652, allocations: 0 / 316.4 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.1655, allocations: 0.507 MB / 316.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.166, allocations: 212.7 kB / 317.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.168, allocations: 1.656 MB / 318.8 MB, free: 384 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.723e-05/0.1681, allocations: 171.8 kB / 318.9 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.1683, allocations: 101.8 kB / 319 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.1683, allocations: 54.88 kB / 319.1 MB, free: 264 kB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1683, allocations: 0 / 319.1 MB, free: 264 kB / 266.7 MB Notification: Performance of Templates: time 0.01284/0.1812, allocations: 10.33 MB / 329.4 MB, free: 6.605 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.162185200024396]