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.001971/0.001983, allocations: 106.4 kB / 17.73 MB, free: 5.367 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.001959/0.001959, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001486/0.001486, allocations: 59.91 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.128, allocations: 46.61 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.3036/0.4316, allocations: 8.04 MB / 383.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007649/0.4394, allocations: 2.66 MB / 385.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.4428, allocations: 23.5 kB / 385.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.4466, allocations: 0.5711 MB / 386.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.4497, allocations: 460.3 kB / 386.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.4514, allocations: 256.8 kB / 387.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.4556, allocations: 1.467 MB / 388.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.4572, allocations: 0.5813 MB / 389.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.4589, allocations: 0.5577 MB / 389.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.4599, allocations: 0.5981 MB / 390.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.4601, allocations: 139 kB / 390.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.4606, allocations: 174.7 kB / 390.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.4609, allocations: 283.5 kB / 390.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.462, allocations: 0.6651 MB / 391.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.4659, allocations: 1.728 MB / 393.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4659, allocations: 0 / 393.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4659, allocations: 0 / 393.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.466, allocations: 0 / 393.3 MB, free: 4.109 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.003009/0.469, allocations: 1.442 MB / 394.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.4691, allocations: 13.7 kB / 394.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.4698, allocations: 189.7 kB / 395 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.4712, allocations: 0.7395 MB / 395.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.4713, allocations: 77.62 kB / 395.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.4715, allocations: 104 kB / 395.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.4735, allocations: 0.928 MB / 396.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.4736, allocations: 9.828 kB / 396.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.4737, allocations: 41.75 kB / 396.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.4737, allocations: 28.5 kB / 396.9 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4752, allocations: 0.6303 MB / 397.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006216/0.4814, allocations: 3.882 MB / 401.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.4822, allocations: 435.8 kB / 401.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.4829, allocations: 276.6 kB / 402.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.483, allocations: 4.797 kB / 402.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.483, allocations: 37.95 kB / 402.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.379e-06/0.4831, allocations: 0 / 402.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003456/0.4865, allocations: 1.405 MB / 403.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.4866, allocations: 81.52 kB / 403.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.4879, allocations: 0.8299 MB / 404.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.488, allocations: 31.86 kB / 404.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/0.4885, allocations: 0.5515 MB / 405 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4886, allocations: 157.8 kB / 405.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4888, allocations: 133.4 kB / 405.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.489, allocations: 332.6 kB / 405.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.4894, allocations: 167.2 kB / 405.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.49, allocations: 461.2 kB / 406.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4911, allocations: 0.661 MB / 406.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.4911, allocations: 2.25 kB / 406.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001491/0.4926, allocations: 0.7692 MB / 407.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.4927, allocations: 9.469 kB / 407.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4927, allocations: 13.81 kB / 407.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.493, allocations: 90.84 kB / 407.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.4936, allocations: 156.3 kB / 408 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.4965, allocations: 3.13 MB / 411.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/0.4973, allocations: 36.83 kB / 411.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.4974, allocations: 32.38 kB / 411.2 MB, free: 7.332 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.0005401/0.4979, allocations: 271.5 kB / 411.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4981, allocations: 85.12 kB / 411.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.4992, allocations: 0.4917 MB / 412 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4992, allocations: 4.656 kB / 412 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4992, allocations: 5.094 kB / 412 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4992, allocations: 1.625 kB / 412 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.5017, allocations: 1.432 MB / 413.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5017, allocations: 1.562 kB / 413.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.502, allocations: 74.88 kB / 413.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.5023, allocations: 72.11 kB / 413.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5023, allocations: 7.75 kB / 413.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.5051, allocations: 3.127 MB / 416.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5052, allocations: 2.094 kB / 416.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.5067, allocations: 0.7616 MB / 417.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.5072, allocations: 198.1 kB / 417.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5073, allocations: 20.3 kB / 417.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.5078, allocations: 22.14 kB / 417.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5079, allocations: 35.17 kB / 417.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.5079, allocations: 9.938 kB / 417.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.509, allocations: 0.5646 MB / 418.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.509, allocations: 4 kB / 418.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00165/0.5107, allocations: 205.3 kB / 418.5 MB, free: 1.371 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.0003696/0.5111, allocations: 132.9 kB / 418.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.5128, allocations: 0.6925 MB / 419.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.5128, allocations: 5.406 kB / 419.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.5136, allocations: 442.1 kB / 419.8 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5148, allocations: 239.3 kB / 420 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.5185, allocations: 1.699 MB / 421.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.5194, allocations: 1.011 MB / 422.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.5199, allocations: 99.89 kB / 422.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.5201, allocations: 54.19 kB / 422.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5201, allocations: 0 / 422.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Templates: time 0.02636/0.5465, allocations: 10.68 MB / 433.6 MB, free: 3.66 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