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.001382/0.001382, allocations: 110.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.001787/0.001787, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.952/1.952, 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.001225/0.001225, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 46.62 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.3159/0.4521, allocations: 7.93 MB / 383.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.4572, allocations: 2.624 MB / 385.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.458, allocations: 28.09 kB / 385.7 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.4596, allocations: 0.5515 MB / 386.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.4607, allocations: 456.2 kB / 386.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.4613, allocations: 246.8 kB / 387 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.463, allocations: 1.436 MB / 388.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.4641, allocations: 0.5768 MB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008603/0.4649, allocations: 0.5414 MB / 389.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008332/0.4658, allocations: 0.5808 MB / 390.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.466, allocations: 140 kB / 390.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.4665, allocations: 176.3 kB / 390.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.4667, allocations: 273.2 kB / 390.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.4674, allocations: 0.6474 MB / 391.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.4697, allocations: 1.702 MB / 393 MB, free: 4.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4698, allocations: 1.094 kB / 393 MB, free: 4.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4698, allocations: 0 / 393 MB, free: 4.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.955e-05/0.4698, allocations: 0 / 393 MB, free: 4.289 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.002785/0.4726, allocations: 1.424 MB / 394.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4727, allocations: 8.594 kB / 394.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/0.4734, allocations: 171.8 kB / 394.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.4749, allocations: 0.7276 MB / 395.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.475, allocations: 73.31 kB / 395.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4751, allocations: 97.97 kB / 395.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.477, allocations: 0.9198 MB / 396.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.4771, allocations: 2.312 kB / 396.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.4772, allocations: 46.7 kB / 396.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.4772, allocations: 23.97 kB / 396.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.4786, allocations: 0.6271 MB / 397.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.4848, allocations: 3.876 MB / 401 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.4855, allocations: 347.9 kB / 401.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.4859, allocations: 151.9 kB / 401.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.486, allocations: 3.438 kB / 401.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.486, allocations: 33.64 kB / 401.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/0.486, allocations: 0.7812 kB / 401.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002802/0.4888, allocations: 1.201 MB / 402.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.4889, allocations: 85.23 kB / 402.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4903, allocations: 0.8241 MB / 403.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.4903, allocations: 30.83 kB / 403.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.491, allocations: 0.5689 MB / 404.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.4911, allocations: 130.2 kB / 404.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.4914, allocations: 127.8 kB / 404.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4916, allocations: 331.8 kB / 404.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4919, allocations: 151.6 kB / 405 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.4926, allocations: 455.7 kB / 405.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.4939, allocations: 0.6387 MB / 406.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4939, allocations: 3.312 kB / 406.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00139/0.4953, allocations: 0.6893 MB / 406.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.4953, allocations: 17.33 kB / 406.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.4954, allocations: 14.44 kB / 406.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.4956, allocations: 31.08 kB / 406.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.4961, allocations: 161.3 kB / 407 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.4976, allocations: 1.392 MB / 408.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.4984, allocations: 38.23 kB / 408.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.4985, allocations: 32.59 kB / 408.4 MB, free: 9.582 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.0005517/0.499, allocations: 256.2 kB / 408.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4992, allocations: 90.41 kB / 408.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.5001, allocations: 373.4 kB / 409.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5002, allocations: 4.531 kB / 409.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5002, allocations: 0 / 409.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5002, allocations: 1.156 kB / 409.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.5028, allocations: 1.267 MB / 410.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5028, allocations: 2.375 kB / 410.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.5032, allocations: 78.98 kB / 410.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.5033, allocations: 24.44 kB / 410.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.5034, allocations: 7.781 kB / 410.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.5049, allocations: 1.368 MB / 411.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5049, allocations: 2.219 kB / 411.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.5061, allocations: 0.6371 MB / 412.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.5064, allocations: 188.2 kB / 412.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.5065, allocations: 8.656 kB / 412.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.5069, allocations: 24.7 kB / 412.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.507, allocations: 31.56 kB / 412.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.507, allocations: 17.3 kB / 412.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009255/0.508, allocations: 0.5594 MB / 413.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.508, allocations: 1.125 kB / 413.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008749/0.5089, allocations: 188 kB / 413.5 MB, free: 5.656 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.0003013/0.5092, allocations: 134.2 kB / 413.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.5106, allocations: 0.5028 MB / 414.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.5106, allocations: 1.031 kB / 414.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.5112, allocations: 267.1 kB / 414.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.5124, allocations: 227.4 kB / 414.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.5153, allocations: 1.683 MB / 416.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.516, allocations: 0.996 MB / 417.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.5164, allocations: 101.3 kB / 417.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.5166, allocations: 53.5 kB / 417.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5166, allocations: 0 / 417.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Templates: time 0.02011/0.5367, allocations: 9.651 MB / 427.1 MB, free: 10.37 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