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.001426/0.001426, allocations: 115.5 kB / 17.73 MB, free: 5.211 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.001621/0.001622, allocations: 188.2 kB / 18.66 MB, free: 4.285 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.88/1.88, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001381/0.001381, allocations: 47.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1559, allocations: 46.61 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.372/0.528, allocations: 7.086 MB / 382.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005912/0.5339, allocations: 2.396 MB / 384.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.5359, allocations: 20.19 kB / 384.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.538, allocations: 0.4915 MB / 385.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.5402, allocations: 379.1 kB / 385.5 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.5411, allocations: 210.5 kB / 385.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.5436, allocations: 1.204 MB / 386.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.5447, allocations: 0.4998 MB / 387.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5459, allocations: 460.2 kB / 387.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.5466, allocations: 499.3 kB / 388.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.5469, allocations: 113.9 kB / 388.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.5474, allocations: 149.7 kB / 388.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.5477, allocations: 229.3 kB / 388.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.5483, allocations: 0.5488 MB / 389.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.5508, allocations: 1.432 MB / 390.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.5508, allocations: 4 kB / 390.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.491e-06/0.5509, allocations: 0 / 390.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.5509, allocations: 1.188 kB / 390.8 MB, free: 5.66 MB / 318.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.00311/0.554, allocations: 1.247 MB / 392.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.5541, allocations: 13.33 kB / 392.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.5548, allocations: 145 kB / 392.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5561, allocations: 0.6462 MB / 392.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.5562, allocations: 63.14 kB / 392.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.5564, allocations: 84.44 kB / 393 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5579, allocations: 0.7844 MB / 393.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.558, allocations: 2.031 kB / 393.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.5581, allocations: 31.88 kB / 393.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.5581, allocations: 20.09 kB / 393.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5596, allocations: 0.5199 MB / 394.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.5651, allocations: 3.371 MB / 397.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.5657, allocations: 225.3 kB / 398 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.566, allocations: 118.4 kB / 398.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.5661, allocations: 2.5 kB / 398.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.5661, allocations: 41.56 kB / 398.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.5661, allocations: 0 / 398.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002544/0.5687, allocations: 1.044 MB / 399.2 MB, free: 312 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5687, allocations: 81.45 kB / 399.2 MB, free: 216 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.57, allocations: 0.7336 MB / 400 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.57, allocations: 31.05 kB / 400 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.5705, allocations: 0.497 MB / 400.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.5706, allocations: 106.3 kB / 400.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.5707, allocations: 115.7 kB / 400.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.571, allocations: 382.6 kB / 401.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.5713, allocations: 123.9 kB / 401.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.5718, allocations: 415 kB / 401.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.5727, allocations: 0.5673 MB / 402.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5727, allocations: 6.688 kB / 402.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001179/0.5739, allocations: 0.6129 MB / 402.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5739, allocations: 12.47 kB / 402.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5739, allocations: 9.812 kB / 402.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.5741, allocations: 33.97 kB / 402.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.5746, allocations: 141.6 kB / 403 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.5759, allocations: 1.389 MB / 404.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.5765, allocations: 37.36 kB / 404.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.5766, allocations: 28.75 kB / 404.5 MB, free: 12.22 MB / 334.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.0004017/0.577, allocations: 239.5 kB / 404.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.5772, allocations: 69.53 kB / 404.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.5779, allocations: 326 kB / 405.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5779, allocations: 3.281 kB / 405.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.5779, allocations: 0 / 405.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.5779, allocations: 2.828 kB / 405.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5801, allocations: 1.095 MB / 406.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5801, allocations: 3.625 kB / 406.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.5804, allocations: 60.81 kB / 406.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.5806, allocations: 27.47 kB / 406.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.5806, allocations: 7.812 kB / 406.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.5818, allocations: 1.374 MB / 407.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5818, allocations: 2.125 kB / 407.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5829, allocations: 0.5582 MB / 408.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.5832, allocations: 172.8 kB / 408.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.5833, allocations: 11.67 kB / 408.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.5836, allocations: 18.58 kB / 408.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5837, allocations: 26.94 kB / 408.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5837, allocations: 7.094 kB / 408.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00088/0.5846, allocations: 0.4984 MB / 408.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.5846, allocations: 4 kB / 408.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5857, allocations: 165.9 kB / 409.1 MB, free: 8.727 MB / 334.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.0002946/0.586, allocations: 121.8 kB / 409.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.5871, allocations: 467.7 kB / 409.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5871, allocations: 4.375 kB / 409.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.5875, allocations: 236.8 kB / 409.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.5885, allocations: 180.6 kB / 410.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5912, allocations: 1.422 MB / 411.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.5919, allocations: 0.948 MB / 412.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.5922, allocations: 86.16 kB / 412.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5924, allocations: 54.02 kB / 412.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5924, allocations: 1.438 kB / 412.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of Templates: time 0.02147/0.6138, allocations: 8.282 MB / 420.9 MB, free: 0.6875 MB / 334.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 -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/jenkins/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/jenkins/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