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.001867/0.001867, 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.002153/0.002153, 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.822/1.822, 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.001288/0.001288, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2833/0.3896, allocations: 8.034 MB / 383.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.3951, allocations: 2.667 MB / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.3967, allocations: 24.31 kB / 385.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.399, allocations: 0.5924 MB / 386.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.4011, allocations: 0.4886 MB / 387 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.4019, allocations: 250.1 kB / 387.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.4042, allocations: 1.476 MB / 388.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/0.4051, allocations: 0.5783 MB / 389.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.4064, allocations: 0.5585 MB / 389.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.4072, allocations: 0.5938 MB / 390.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.4074, allocations: 138.5 kB / 390.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.4079, allocations: 179.7 kB / 390.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4081, allocations: 281.2 kB / 391 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000745/0.4089, allocations: 0.6587 MB / 391.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.4113, allocations: 1.723 MB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4113, allocations: 1.25 kB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4113, allocations: 0 / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.4114, allocations: 4 kB / 393.4 MB, free: 4.082 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.002774/0.4141, allocations: 1.45 MB / 394.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4142, allocations: 13.56 kB / 394.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006772/0.4149, allocations: 189.4 kB / 395 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.416, allocations: 0.7364 MB / 395.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.4161, allocations: 72.94 kB / 395.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4163, allocations: 101.3 kB / 395.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.418, allocations: 0.9367 MB / 396.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4181, allocations: 3.391 kB / 396.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.4181, allocations: 40.06 kB / 396.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.4182, allocations: 25.09 kB / 396.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4195, allocations: 0.6364 MB / 397.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.4252, allocations: 3.891 MB / 401.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.4262, allocations: 438 kB / 401.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.4268, allocations: 272.4 kB / 402.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.4269, allocations: 4.547 kB / 402.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4269, allocations: 42.03 kB / 402.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 3.096e-06/0.4269, allocations: 0 / 402.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003437/0.4304, allocations: 1.395 MB / 403.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.4305, allocations: 81.77 kB / 403.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4321, allocations: 0.8304 MB / 404.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4321, allocations: 35.98 kB / 404.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.4326, allocations: 0.5474 MB / 405.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4327, allocations: 161.3 kB / 405.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4329, allocations: 129 kB / 405.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4331, allocations: 332.8 kB / 405.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.4334, allocations: 167.4 kB / 405.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.4341, allocations: 470.9 kB / 406.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4352, allocations: 0.6573 MB / 407 MB, free: 10.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4353, allocations: 3.25 kB / 407 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001629/0.4369, allocations: 0.7698 MB / 407.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4369, allocations: 13.16 kB / 407.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.4369, allocations: 10.38 kB / 407.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.4373, allocations: 78.62 kB / 407.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.4378, allocations: 156 kB / 408 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/0.4415, allocations: 3.134 MB / 411.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.4424, allocations: 36.23 kB / 411.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.4425, allocations: 39.91 kB / 411.2 MB, free: 7.289 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.0006302/0.4431, allocations: 267.4 kB / 411.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.4433, allocations: 93.7 kB / 411.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4443, allocations: 492.1 kB / 412 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4444, allocations: 8.5 kB / 412.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4444, allocations: 1.688 kB / 412.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4444, allocations: 0 / 412.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.4472, allocations: 1.437 MB / 413.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4473, allocations: 1.188 kB / 413.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.4476, allocations: 68.97 kB / 413.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.4478, allocations: 77.14 kB / 413.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4479, allocations: 8.094 kB / 413.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.4514, allocations: 3.126 MB / 416.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.4515, allocations: 2.125 kB / 416.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.4532, allocations: 0.7581 MB / 417.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.4536, allocations: 202 kB / 417.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.4537, allocations: 12.53 kB / 417.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.4541, allocations: 30.23 kB / 417.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.4542, allocations: 35.2 kB / 417.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.4542, allocations: 13.59 kB / 417.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008616/0.4551, allocations: 0.562 MB / 418.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4551, allocations: 0 / 418.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009745/0.4561, allocations: 209.7 kB / 418.6 MB, free: 1.332 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.0003994/0.4565, allocations: 134.8 kB / 418.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4578, allocations: 0.6881 MB / 419.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.966e-05/0.4579, allocations: 0 / 419.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.4586, allocations: 456.2 kB / 419.9 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4598, allocations: 229.6 kB / 420.1 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.4633, allocations: 1.706 MB / 421.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.4641, allocations: 1.003 MB / 422.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.4645, allocations: 102.5 kB / 422.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4647, allocations: 61.02 kB / 422.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4647, allocations: 0 / 422.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.02002/0.4847, allocations: 10.66 MB / 433.6 MB, free: 3.609 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