Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009361/0.0009362, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008723/0.0008721, allocations: 78.23 kB / 262.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.557e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.07938, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.3846, allocations: 97.79 MB / 460.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.3849, allocations: 83.7 kB / 460.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07514/0.46, allocations: 28.29 MB / 489.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4601, allocations: 4.656 kB / 489.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.4601, allocations: 24 kB / 489.3 MB, free: 7.004 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001914/0.462, allocations: 1.133 MB / 490.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4621, allocations: 12.03 kB / 490.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.4628, allocations: 190.3 kB / 490.6 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.4644, allocations: 0.8044 MB / 491.4 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.4644, allocations: 35.98 kB / 491.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4646, allocations: 67.33 kB / 491.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009844/0.4656, allocations: 0.5379 MB / 492 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.467, allocations: 0.7552 MB / 492.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.467, allocations: 11.91 kB / 492.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.4671, allocations: 0 / 492.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.4671, allocations: 24 kB / 492.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.4722, allocations: 3.752 MB / 496.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.4729, allocations: 424.4 kB / 497 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.4733, allocations: 241.3 kB / 497.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.4734, allocations: 4 kB / 497.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4734, allocations: 38.56 kB / 497.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/0.4734, allocations: 0 / 497.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002156/0.4756, allocations: 1.124 MB / 498.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4757, allocations: 89.53 kB / 498.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.4764, allocations: 0.5898 MB / 499.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.4764, allocations: 25.7 kB / 499.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.4768, allocations: 0.5758 MB / 499.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4769, allocations: 161.6 kB / 499.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.4769, allocations: 3.938 kB / 499.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4771, allocations: 394.7 kB / 0.4885 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.4773, allocations: 141.6 kB / 0.4886 GB, free: 11.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.4777, allocations: 424.4 kB / 0.489 GB, free: 11.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.478, allocations: 220.6 kB / 0.4893 GB, free: 10.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4781, allocations: 4 kB / 0.4893 GB, free: 10.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001036/0.4791, allocations: 0.6727 MB / 0.4899 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4791, allocations: 12 kB / 0.4899 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4792, allocations: 8.375 kB / 0.4899 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.4795, allocations: 97.66 kB / 0.49 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.4801, allocations: 167.7 kB / 0.4902 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.4822, allocations: 2.879 MB / 0.493 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.4829, allocations: 35.94 kB / 0.493 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.4829, allocations: 36 kB / 0.4931 GB, free: 6.84 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.4831, allocations: 125.7 kB / 0.4932 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4832, allocations: 86.95 kB / 0.4933 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.4841, allocations: 458 kB / 0.4937 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4841, allocations: 4 kB / 0.4937 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4841, allocations: 3.984 kB / 0.4937 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4841, allocations: 4 kB / 0.4937 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.486, allocations: 1.291 MB / 0.495 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.486, allocations: 0 / 0.495 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.4863, allocations: 79.89 kB / 0.4951 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.4866, allocations: 85.84 kB / 0.4951 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.4866, allocations: 4 kB / 0.4951 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.4887, allocations: 2.875 MB / 0.4979 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4887, allocations: 7.938 kB / 0.498 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4897, allocations: 0.821 MB / 0.4988 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.49, allocations: 184.2 kB / 0.4989 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.4901, allocations: 4 kB / 0.4989 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.4905, allocations: 31.97 kB / 0.499 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.4906, allocations: 39.91 kB / 0.499 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4907, allocations: 12 kB / 0.499 GB, free: 304 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000599/0.4913, allocations: 455.2 kB / 0.4994 GB, free: 15.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4913, allocations: 7.938 kB / 0.4995 GB, free: 15.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.4921, allocations: 196 kB / 0.4996 GB, free: 15.66 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003919/0.4925, allocations: 261.5 kB / 0.4999 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.4935, allocations: 0.6369 MB / 0.5005 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4935, allocations: 2 kB / 0.5005 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.494, allocations: 427.6 kB / 0.5009 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.4949, allocations: 179.2 kB / 0.5011 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.4971, allocations: 1.253 MB / 0.5023 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.4977, allocations: 1.032 MB / 0.5033 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.4981, allocations: 106.8 kB / 0.5034 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.4982, allocations: 51.44 kB / 0.5035 GB, free: 11.59 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4982, allocations: 4 kB / 0.5035 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Templates: time 0.0166/0.5148, allocations: 9.12 MB / 0.5124 GB, free: 2.461 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches