Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 97.83 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 177.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005591, allocations: 15.28 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009119/0.1266, allocations: 6.545 MB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.1324, allocations: 2.61 MB / 337.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.1332, allocations: 27.94 kB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.1349, allocations: 469.7 kB / 338 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.1361, allocations: 498.5 kB / 338.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1366, allocations: 163.8 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.138, allocations: 1.049 MB / 339.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.1388, allocations: 431.3 kB / 340.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.1393, allocations: 446.2 kB / 340.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.1399, allocations: 489.8 kB / 341 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.14, allocations: 60 kB / 341.1 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1403, allocations: 99.97 kB / 341.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1404, allocations: 187.2 kB / 341.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1406, allocations: 261.1 kB / 341.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1418, allocations: 1.32 MB / 342.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1418, allocations: 4 kB / 342.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1418, allocations: 0 / 342.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.1418, allocations: 0 / 342.9 MB, free: 5.434 MB / 286.1 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.002141/0.144, allocations: 1.285 MB / 344.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.144, allocations: 8.031 kB / 344.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.1445, allocations: 174.4 kB / 344.4 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1456, allocations: 0.7154 MB / 345.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.1457, allocations: 70 kB / 345.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1458, allocations: 111.8 kB / 345.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.1476, allocations: 0.9346 MB / 346.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.1476, allocations: 4 kB / 346.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.1477, allocations: 44 kB / 346.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.1477, allocations: 24 kB / 346.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.149, allocations: 0.6598 MB / 346.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.1543, allocations: 3.922 MB / 350.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.1551, allocations: 448.5 kB / 351.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.1551, allocations: 8 kB / 351.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1552, allocations: 42.44 kB / 351.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.1552, allocations: 0 / 351.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002714/0.1579, allocations: 1.45 MB / 352.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.158, allocations: 81.11 kB / 352.9 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.1589, allocations: 0.7746 MB / 353.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.159, allocations: 33.7 kB / 353.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.1594, allocations: 0.5643 MB / 354.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1595, allocations: 161.8 kB / 354.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.1596, allocations: 12 kB / 354.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1598, allocations: 341.9 kB / 354.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1601, allocations: 173.9 kB / 354.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.1607, allocations: 471.6 kB / 355.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.1612, allocations: 255.7 kB / 355.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1612, allocations: 4 kB / 355.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001259/0.1625, allocations: 0.7632 MB / 356.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1625, allocations: 12.41 kB / 356.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1625, allocations: 12.05 kB / 356.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.1628, allocations: 73.67 kB / 356.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.1633, allocations: 159.7 kB / 356.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.1656, allocations: 2.817 MB / 359.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.1661, allocations: 43.95 kB / 359.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.1662, allocations: 35.95 kB / 359.6 MB, free: 3.867 MB / 302.1 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.1666, allocations: 261.5 kB / 359.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1667, allocations: 86.97 kB / 359.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.1676, allocations: 0.4953 MB / 360.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1676, allocations: 4.188 kB / 360.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1676, allocations: 0 / 360.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1677, allocations: 7.969 kB / 360.4 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1697, allocations: 1.422 MB / 361.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1697, allocations: 0 / 361.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.17, allocations: 84.11 kB / 361.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.1702, allocations: 61.69 kB / 362 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.1703, allocations: 8 kB / 362 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.1723, allocations: 2.79 MB / 364.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.1724, allocations: 15.83 kB / 364.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1737, allocations: 0.867 MB / 365.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.174, allocations: 188.1 kB / 365.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1741, allocations: 8 kB / 365.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1745, allocations: 39.97 kB / 365.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.1746, allocations: 39.84 kB / 365.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1746, allocations: 16 kB / 365.9 MB, free: 13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007111/0.1754, allocations: 0.5186 MB / 366.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1754, allocations: 0 / 366.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008219/0.1762, allocations: 208 kB / 366.7 MB, free: 12.28 MB / 318.1 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.1764, allocations: 131.1 kB / 366.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.1776, allocations: 0.7087 MB / 367.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1776, allocations: 0 / 367.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.1782, allocations: 451 kB / 367.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.1791, allocations: 210.8 kB / 368.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1819, allocations: 2.122 MB / 370.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.1825, allocations: 1.032 MB / 371.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.1829, allocations: 111.2 kB / 371.4 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.183, allocations: 51.44 kB / 371.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.183, allocations: 0 / 371.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Templates: time 0.1828/0.3658, allocations: 9.104 MB / 380.6 MB, free: 50.88 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches