Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001286/0.001286, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.658/1.658, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001212/0.001212, allocations: 52.16 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008934/0.1186, allocations: 7.097 MB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004731/0.1233, allocations: 2.392 MB / 338.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007738/0.1242, allocations: 23.94 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1259, allocations: 489 kB / 338.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.1272, allocations: 385 kB / 339.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.1277, allocations: 211.7 kB / 339.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1292, allocations: 1.203 MB / 340.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.13, allocations: 0.492 MB / 341 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.1306, allocations: 462.2 kB / 341.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.1311, allocations: 0.4938 MB / 341.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1313, allocations: 112 kB / 342 MB, free: 6.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1316, allocations: 156 kB / 342.2 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.1318, allocations: 231.2 kB / 342.4 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.1322, allocations: 0.5404 MB / 343 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1338, allocations: 1.433 MB / 344.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1338, allocations: 7.984 kB / 344.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1338, allocations: 0 / 344.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.1338, allocations: 0 / 344.4 MB, free: 3.965 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002208/0.136, allocations: 1.247 MB / 345.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1361, allocations: 11.89 kB / 345.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.1366, allocations: 139.7 kB / 345.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.1377, allocations: 0.6494 MB / 346.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.1377, allocations: 58.38 kB / 346.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1379, allocations: 80.38 kB / 346.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1391, allocations: 0.7871 MB / 347.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.1392, allocations: 3.906 kB / 347.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.1392, allocations: 32 kB / 347.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1393, allocations: 20 kB / 347.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.1402, allocations: 0.5192 MB / 347.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.1442, allocations: 3.372 MB / 351.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.1447, allocations: 230.5 kB / 351.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.145, allocations: 120.7 kB / 351.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.145, allocations: 0 / 351.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1451, allocations: 42.56 kB / 351.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.886e-06/0.1451, allocations: 3.984 kB / 351.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002184/0.1473, allocations: 1.036 MB / 352.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.1474, allocations: 85.05 kB / 352.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.1483, allocations: 0.7386 MB / 353.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1484, allocations: 29.7 kB / 353.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.1487, allocations: 0.4943 MB / 354.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.1488, allocations: 98.55 kB / 354.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.149, allocations: 118.2 kB / 354.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1492, allocations: 382.8 kB / 354.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.1495, allocations: 121.2 kB / 354.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.1499, allocations: 418.2 kB / 355.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.1507, allocations: 0.5717 MB / 355.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1507, allocations: 4 kB / 355.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001009/0.1517, allocations: 0.6108 MB / 356.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1518, allocations: 8 kB / 356.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1518, allocations: 8 kB / 356.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.1519, allocations: 36.78 kB / 356.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.1524, allocations: 136.2 kB / 356.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1535, allocations: 1.394 MB / 358 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.154, allocations: 31.98 kB / 358 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.154, allocations: 28 kB / 358 MB, free: 5.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003159/0.1544, allocations: 237.5 kB / 358.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1545, allocations: 75.06 kB / 358.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.1551, allocations: 329.6 kB / 358.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1552, allocations: 4 kB / 358.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1552, allocations: 0 / 358.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1552, allocations: 3.984 kB / 358.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.1567, allocations: 1.094 MB / 359.7 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1568, allocations: 4 kB / 359.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.157, allocations: 60.19 kB / 359.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.309e-05/0.1571, allocations: 32.81 kB / 359.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1571, allocations: 8 kB / 359.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009619/0.1581, allocations: 1.371 MB / 361.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1581, allocations: 4 kB / 361.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.159, allocations: 0.5605 MB / 361.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.1592, allocations: 176.2 kB / 362 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.1593, allocations: 8 kB / 362 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.1596, allocations: 19.98 kB / 362 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.1597, allocations: 27.84 kB / 362 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1597, allocations: 11.94 kB / 362 MB, free: 1.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006445/0.1604, allocations: 0.4991 MB / 362.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1604, allocations: 4 kB / 362.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006347/0.161, allocations: 172 kB / 362.7 MB, free: 464 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0002101/0.1612, allocations: 107.2 kB / 362.8 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.1621, allocations: 464.4 kB / 363.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1622, allocations: 320 / 363.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.1625, allocations: 238.5 kB / 363.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.1634, allocations: 188.4 kB / 363.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1656, allocations: 1.412 MB / 365.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.1662, allocations: 0.9411 MB / 366 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.1665, allocations: 90.02 kB / 366.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.1666, allocations: 47.44 kB / 366.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1666, allocations: 0 / 366.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of Templates: time 0.01565/0.1822, allocations: 8.117 MB / 374.3 MB, free: 4.762 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches