Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 112.3 kB / 17.73 MB, free: 5.355 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.001729/0.00173, allocations: 179.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 2.191/2.191, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001408/0.001408, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1431, allocations: 46.63 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2974/0.4406, allocations: 7.926 MB / 383.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006066/0.4467, allocations: 2.63 MB / 385.7 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.4478, allocations: 23.38 kB / 385.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.4497, allocations: 0.5593 MB / 386.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.4513, allocations: 453.5 kB / 386.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.452, allocations: 243.6 kB / 387 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.4539, allocations: 1.437 MB / 388.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.455, allocations: 0.5783 MB / 389 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.456, allocations: 0.5414 MB / 389.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.4568, allocations: 0.5764 MB / 390.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.457, allocations: 135.6 kB / 390.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.4575, allocations: 176.2 kB / 390.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.4577, allocations: 277 kB / 390.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.4584, allocations: 0.6483 MB / 391.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.4607, allocations: 1.701 MB / 393 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4607, allocations: 0 / 393 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4608, allocations: 1.469 kB / 393 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4608, allocations: 0 / 393 MB, free: 4.262 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002561/0.4633, allocations: 1.464 MB / 394.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4634, allocations: 13.84 kB / 394.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/0.4641, allocations: 175.9 kB / 394.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4653, allocations: 0.727 MB / 395.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.4654, allocations: 74.58 kB / 395.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.4656, allocations: 98.52 kB / 395.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.4674, allocations: 0.923 MB / 396.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.4674, allocations: 3.359 kB / 396.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.4675, allocations: 40.75 kB / 396.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.4676, allocations: 24.12 kB / 396.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.4688, allocations: 0.6244 MB / 397.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.4738, allocations: 3.892 MB / 401.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.4744, allocations: 348.9 kB / 401.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.4747, allocations: 146.1 kB / 401.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.4748, allocations: 7.094 kB / 401.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4748, allocations: 40.62 kB / 401.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 4.418e-06/0.4748, allocations: 3.984 kB / 401.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002405/0.4772, allocations: 1.21 MB / 402.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.4773, allocations: 82.31 kB / 402.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4784, allocations: 0.8263 MB / 403.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.4785, allocations: 31.11 kB / 403.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.4789, allocations: 0.5811 MB / 404.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.479, allocations: 135.5 kB / 404.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.4792, allocations: 135.6 kB / 404.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4794, allocations: 331.5 kB / 404.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.4797, allocations: 148.2 kB / 405.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.4802, allocations: 459 kB / 405.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.4811, allocations: 0.6358 MB / 406.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4811, allocations: 3.406 kB / 406.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001247/0.4824, allocations: 0.6899 MB / 406.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4824, allocations: 17.91 kB / 406.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4825, allocations: 9.531 kB / 406.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.4826, allocations: 39.09 kB / 406.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.4831, allocations: 156.8 kB / 407.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.4842, allocations: 1.393 MB / 408.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.4848, allocations: 35.06 kB / 408.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.4849, allocations: 42.73 kB / 408.5 MB, free: 9.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.000375/0.4852, allocations: 256.7 kB / 408.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4854, allocations: 86.83 kB / 408.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.4862, allocations: 374.4 kB / 409.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4862, allocations: 7.281 kB / 409.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4862, allocations: 0 / 409.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4862, allocations: 5.078 kB / 409.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.4881, allocations: 1.264 MB / 410.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4881, allocations: 2.219 kB / 410.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.4885, allocations: 74.53 kB / 410.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-05/0.4885, allocations: 32.31 kB / 410.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4886, allocations: 8.75 kB / 410.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/0.4895, allocations: 1.371 MB / 412 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4895, allocations: 1.781 kB / 412 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4906, allocations: 0.6349 MB / 412.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.4908, allocations: 192.4 kB / 412.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.4909, allocations: 8.656 kB / 412.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.4914, allocations: 31.72 kB / 412.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.4914, allocations: 24.28 kB / 412.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.4915, allocations: 12.84 kB / 412.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008401/0.4923, allocations: 0.5649 MB / 413.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4923, allocations: 0 / 413.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008486/0.4932, allocations: 192.1 kB / 413.7 MB, free: 5.523 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0002206/0.4934, allocations: 117.9 kB / 413.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.4945, allocations: 0.5103 MB / 414.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4945, allocations: 0 / 414.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.495, allocations: 269.1 kB / 414.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4961, allocations: 220.1 kB / 414.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.4993, allocations: 1.725 MB / 416.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.4999, allocations: 0.9938 MB / 417.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003544/0.5002, allocations: 104.2 kB / 417.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5004, allocations: 54 kB / 417.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5004, allocations: 0 / 417.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Templates: time 0.02218/0.5226, allocations: 9.648 MB / 427.3 MB, free: 10.22 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches