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.001555/0.001555, allocations: 112.4 kB / 17.73 MB, free: 5.234 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.001723/0.001723, allocations: 187.1 kB / 18.66 MB, free: 4.309 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.042/2.042, 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.001323/0.001323, allocations: 56.34 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.3217/0.4591, allocations: 7.078 MB / 382.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.4653, allocations: 2.387 MB / 384.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.4664, allocations: 19.97 kB / 384.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.4684, allocations: 0.5183 MB / 385.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.4701, allocations: 412.9 kB / 385.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.4708, allocations: 208.8 kB / 385.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.4726, allocations: 1.199 MB / 387 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4736, allocations: 0.503 MB / 387.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/0.4746, allocations: 464.1 kB / 387.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.4753, allocations: 0.4919 MB / 388.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.4755, allocations: 113.4 kB / 388.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.476, allocations: 154.6 kB / 388.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.4763, allocations: 229.2 kB / 388.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.477, allocations: 0.5442 MB / 389.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.4796, allocations: 1.431 MB / 390.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.4796, allocations: 2.125 kB / 390.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4796, allocations: 0 / 390.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.4796, allocations: 0 / 390.9 MB, free: 5.633 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.0025/0.4821, allocations: 1.248 MB / 392.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4822, allocations: 12.83 kB / 392.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.4829, allocations: 148.6 kB / 392.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4841, allocations: 0.6421 MB / 392.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.4842, allocations: 57.72 kB / 393 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4844, allocations: 85.06 kB / 393.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4861, allocations: 0.7814 MB / 393.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.4861, allocations: 7.266 kB / 393.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.4862, allocations: 31.03 kB / 393.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.4863, allocations: 20.44 kB / 393.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.4875, allocations: 0.5208 MB / 394.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004694/0.4922, allocations: 3.374 MB / 397.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.4928, allocations: 226.8 kB / 398 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.4931, allocations: 121.8 kB / 398.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.4931, allocations: 7.156 kB / 398.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4931, allocations: 32.91 kB / 398.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.4932, allocations: 0 / 398.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002379/0.4955, allocations: 1.051 MB / 399.2 MB, free: 280 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4956, allocations: 83.7 kB / 399.3 MB, free: 180 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.497, allocations: 0.7328 MB / 400 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.497, allocations: 30.73 kB / 400.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.4976, allocations: 0.4958 MB / 400.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4977, allocations: 112.4 kB / 400.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4979, allocations: 113.3 kB / 400.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4981, allocations: 378.2 kB / 401.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.4984, allocations: 123.6 kB / 401.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.4989, allocations: 413.6 kB / 401.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.4997, allocations: 0.5717 MB / 402.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4998, allocations: 2.75 kB / 402.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001205/0.501, allocations: 0.6121 MB / 402.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.501, allocations: 13.19 kB / 402.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.501, allocations: 9.75 kB / 402.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.5013, allocations: 38.27 kB / 402.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.5018, allocations: 138.3 kB / 403.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.5032, allocations: 1.392 MB / 404.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.5037, allocations: 35.69 kB / 404.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.5038, allocations: 32.75 kB / 404.5 MB, free: 12.18 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.000461/0.5043, allocations: 240.4 kB / 404.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5044, allocations: 69.53 kB / 404.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007552/0.5052, allocations: 322.6 kB / 405.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5052, allocations: 3.344 kB / 405.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5052, allocations: 2.578 kB / 405.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5052, allocations: 1.062 kB / 405.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5074, allocations: 1.093 MB / 406.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5074, allocations: 5.938 kB / 406.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.5077, allocations: 55.81 kB / 406.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.5078, allocations: 20.28 kB / 406.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5078, allocations: 12.19 kB / 406.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.5092, allocations: 1.373 MB / 407.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5093, allocations: 2.656 kB / 407.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.5103, allocations: 0.565 MB / 408.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.5106, allocations: 173.4 kB / 408.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.5107, allocations: 8.156 kB / 408.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.511, allocations: 22.38 kB / 408.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.5111, allocations: 25.86 kB / 408.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.5111, allocations: 7.844 kB / 408.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008245/0.5119, allocations: 0.5027 MB / 409 MB, free: 8.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.512, allocations: 0 / 409 MB, free: 8.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009197/0.5129, allocations: 165.7 kB / 409.2 MB, free: 8.695 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.0003085/0.5132, allocations: 121 kB / 409.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.5143, allocations: 463 kB / 409.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5143, allocations: 0 / 409.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.5148, allocations: 233.5 kB / 410 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5158, allocations: 191.4 kB / 410.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.5188, allocations: 1.412 MB / 411.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.5195, allocations: 0.9489 MB / 412.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003737/0.5199, allocations: 89.2 kB / 412.6 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5201, allocations: 51.03 kB / 412.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5201, allocations: 0 / 412.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of Templates: time 0.02582/0.5459, allocations: 8.277 MB / 420.9 MB, free: 0.6523 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