Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,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_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,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_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001132/0.001132, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.955/1.955, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001189/0.001189, allocations: 44.31 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 46.63 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.3767/0.5234, allocations: 8.032 MB / 383.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007636/0.5311, allocations: 2.672 MB / 385.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.5333, allocations: 24.31 kB / 385.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.5362, allocations: 0.5568 MB / 386.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.5397, allocations: 469.1 kB / 386.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.5411, allocations: 253.6 kB / 387.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.5444, allocations: 1.474 MB / 388.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.5457, allocations: 0.5723 MB / 389.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.5472, allocations: 0.5497 MB / 389.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.549, allocations: 0.5935 MB / 390.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005776/0.5496, allocations: 138.3 kB / 390.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.5506, allocations: 179.7 kB / 390.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.5509, allocations: 285.8 kB / 390.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008953/0.5518, allocations: 0.6589 MB / 391.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.5544, allocations: 1.726 MB / 393.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5544, allocations: 0 / 393.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5544, allocations: 1.094 kB / 393.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.5545, allocations: 0 / 393.3 MB, free: 4.137 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002847/0.5573, allocations: 1.49 MB / 394.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5574, allocations: 15.14 kB / 394.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.5581, allocations: 189.5 kB / 395 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5594, allocations: 0.7483 MB / 395.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.5595, allocations: 73.25 kB / 395.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.5596, allocations: 97.03 kB / 395.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.5614, allocations: 0.9379 MB / 396.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.5614, allocations: 5.656 kB / 396.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.5615, allocations: 45.17 kB / 396.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.5615, allocations: 24.91 kB / 396.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.5629, allocations: 0.6312 MB / 397.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/0.5688, allocations: 3.903 MB / 401.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/0.5696, allocations: 428.8 kB / 401.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.5702, allocations: 277.3 kB / 402.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.5703, allocations: 8.266 kB / 402.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.5704, allocations: 38.02 kB / 402.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.799e-06/0.5704, allocations: 0 / 402.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003177/0.5736, allocations: 1.422 MB / 403.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.5737, allocations: 81.55 kB / 403.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.575, allocations: 0.8227 MB / 404.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.5751, allocations: 35.89 kB / 404.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.5756, allocations: 0.5725 MB / 405.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5757, allocations: 166.2 kB / 405.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.5759, allocations: 128.8 kB / 405.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5761, allocations: 333 kB / 405.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5764, allocations: 163.2 kB / 405.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.5771, allocations: 470.8 kB / 406.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.5783, allocations: 0.6581 MB / 407 MB, free: 10.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.5783, allocations: 2.562 kB / 407 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001572/0.5799, allocations: 0.7735 MB / 407.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.5799, allocations: 13.31 kB / 407.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.5799, allocations: 10.22 kB / 407.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.5802, allocations: 82.84 kB / 407.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.5808, allocations: 157 kB / 408.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.5839, allocations: 3.137 MB / 411.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.5847, allocations: 36.91 kB / 411.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.5848, allocations: 36.81 kB / 411.3 MB, free: 7.242 MB / 334.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 (84): * Single equations (assignments): 82 * 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.0004979/0.5853, allocations: 266.8 kB / 411.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5855, allocations: 88.94 kB / 411.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5865, allocations: 0.4921 MB / 412.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.5865, allocations: 5.375 kB / 412.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5865, allocations: 1.156 kB / 412.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5865, allocations: 0 / 412.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.589, allocations: 1.441 MB / 413.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5891, allocations: 1.344 kB / 413.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5894, allocations: 69.75 kB / 413.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.5896, allocations: 72.7 kB / 413.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5897, allocations: 12.25 kB / 413.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.5926, allocations: 3.122 MB / 416.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5927, allocations: 3.125 kB / 416.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.594, allocations: 0.7657 MB / 417.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.5944, allocations: 206.3 kB / 417.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5945, allocations: 13.28 kB / 417.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.5949, allocations: 29.62 kB / 417.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.595, allocations: 34.45 kB / 417.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.595, allocations: 19.03 kB / 417.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009104/0.5959, allocations: 0.5611 MB / 418.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.596, allocations: 0 / 418.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001001/0.597, allocations: 210.2 kB / 418.7 MB, free: 1.266 MB / 334.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 (38): * Single equations (assignments): 36 * 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.0002441/0.5972, allocations: 124.6 kB / 418.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.5984, allocations: 0.6834 MB / 419.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.5984, allocations: 3.062 kB / 419.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.5991, allocations: 452.5 kB / 419.9 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6002, allocations: 232.1 kB / 420.1 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.6034, allocations: 1.742 MB / 421.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.6042, allocations: 1.004 MB / 422.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.6046, allocations: 103.1 kB / 423 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6047, allocations: 57.95 kB / 423 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6047, allocations: 0 / 423 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.02309/0.6278, allocations: 10.66 MB / 433.7 MB, free: 3.535 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches