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.001473/0.001473, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008095/0.0008093, allocations: 82.7 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.378e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07814, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.3729, allocations: 98.21 MB / 468.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3732, allocations: 86.7 kB / 468.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07548/0.4486, allocations: 28.69 MB / 497 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4487, allocations: 0.6562 kB / 497 MB, free: 15.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.4487, allocations: 20 kB / 497 MB, free: 15.66 MB / 378.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.001765/0.4505, allocations: 1.142 MB / 498.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4506, allocations: 8.031 kB / 498.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.4512, allocations: 190.3 kB / 498.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.4526, allocations: 0.8127 MB / 499.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.4527, allocations: 74 kB / 499.3 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4529, allocations: 99.95 kB / 499.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4544, allocations: 0.8958 MB / 0.4885 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.4544, allocations: 7.844 kB / 0.4885 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.4545, allocations: 44 kB / 0.4886 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4545, allocations: 24 kB / 0.4886 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4556, allocations: 0.5897 MB / 0.4892 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.4605, allocations: 3.947 MB / 0.493 GB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.4611, allocations: 436.7 kB / 0.4934 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.4616, allocations: 249.7 kB / 0.4937 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4616, allocations: 12 kB / 0.4937 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4617, allocations: 39.22 kB / 0.4937 GB, free: 6.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.4617, allocations: 0 / 0.4937 GB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002159/0.4639, allocations: 1.224 MB / 0.4949 GB, free: 5.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.4639, allocations: 81.55 kB / 0.495 GB, free: 5.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.4648, allocations: 0.7036 MB / 0.4957 GB, free: 4.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.4649, allocations: 37.64 kB / 0.4957 GB, free: 4.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.4652, allocations: 0.5682 MB / 0.4963 GB, free: 4.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4654, allocations: 165.6 kB / 0.4964 GB, free: 3.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.4654, allocations: 16 kB / 0.4964 GB, free: 3.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4655, allocations: 337.9 kB / 0.4968 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.4658, allocations: 161.6 kB / 0.4969 GB, free: 3.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.4663, allocations: 450 kB / 0.4974 GB, free: 2.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.4666, allocations: 229.5 kB / 0.4976 GB, free: 2.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4666, allocations: 8 kB / 0.4976 GB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001188/0.4678, allocations: 0.7701 MB / 0.4983 GB, free: 1.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4679, allocations: 11.12 kB / 0.4983 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4679, allocations: 8 kB / 0.4984 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.4682, allocations: 101.9 kB / 0.4984 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.4687, allocations: 163.7 kB / 0.4986 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.471, allocations: 2.998 MB / 0.5015 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.4716, allocations: 39.98 kB / 0.5016 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.4717, allocations: 36 kB / 0.5016 GB, free: 14.14 MB / 394.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.0001296/0.4718, allocations: 152.8 kB / 0.5018 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4719, allocations: 86.88 kB / 0.5018 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.4728, allocations: 0.4948 MB / 0.5023 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4728, allocations: 7.953 kB / 0.5023 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4728, allocations: 7.984 kB / 0.5023 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4728, allocations: 3.938 kB / 0.5023 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.4748, allocations: 1.45 MB / 0.5038 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4748, allocations: 0 / 0.5038 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.4752, allocations: 92.09 kB / 0.5038 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.4754, allocations: 85.61 kB / 0.5039 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4755, allocations: 12 kB / 0.5039 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.4777, allocations: 2.974 MB / 0.5068 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4777, allocations: 8.094 kB / 0.5068 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4788, allocations: 0.8639 MB / 0.5077 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.4791, allocations: 200 kB / 0.5079 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.4792, allocations: 8 kB / 0.5079 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.4796, allocations: 39.97 kB / 0.5079 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.4797, allocations: 39.89 kB / 0.508 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.4798, allocations: 12 kB / 0.508 GB, free: 7.109 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006732/0.4805, allocations: 0.5343 MB / 0.5085 GB, free: 6.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4805, allocations: 0 / 0.5085 GB, free: 6.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009565/0.4814, allocations: 244 kB / 0.5087 GB, free: 6.344 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.0004413/0.4819, allocations: 312.2 kB / 0.509 GB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009978/0.4829, allocations: 0.6947 MB / 0.5097 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4829, allocations: 0 / 0.5097 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.4835, allocations: 442.5 kB / 0.5101 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.4844, allocations: 211.1 kB / 0.5103 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4866, allocations: 1.29 MB / 0.5116 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.4871, allocations: 1.04 MB / 0.5126 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.4875, allocations: 103.4 kB / 0.5127 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.4877, allocations: 63.44 kB / 0.5128 GB, free: 2.074 MB / 394.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4877, allocations: 0 / 0.5128 GB, free: 2.074 MB / 394.7 MB Notification: Performance of Templates: time 0.02079/0.5085, allocations: 12.43 MB / 0.5249 GB, free: 5.621 MB / 410.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