Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008626/0.0008627, allocations: 99.2 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009688/0.000969, allocations: 196.8 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 8 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00841/0.1379, allocations: 6.302 MB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1434, allocations: 2.21 MB / 367.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009667/0.1444, allocations: 16 kB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.1458, allocations: 421.7 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1469, allocations: 317.6 kB / 367.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1474, allocations: 115.9 kB / 368 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.149, allocations: 1.089 MB / 369.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.1496, allocations: 364.6 kB / 369.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.1503, allocations: 374.3 kB / 369.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.1508, allocations: 421.9 kB / 370.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.1509, allocations: 52 kB / 370.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.1512, allocations: 91.97 kB / 370.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1513, allocations: 147.3 kB / 370.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1515, allocations: 217.2 kB / 370.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1525, allocations: 1.126 MB / 371.8 MB, free: 148 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1526, allocations: 0 / 371.8 MB, free: 148 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1526, allocations: 4 kB / 371.8 MB, free: 144 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1526, allocations: 4 kB / 371.9 MB, free: 140 kB / 302.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.2344/0.387, allocations: 1.087 MB / 372.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.387, allocations: 9.156 kB / 372.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.3876, allocations: 142.7 kB / 373.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.3885, allocations: 0.6178 MB / 373.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.3886, allocations: 61.8 kB / 373.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3887, allocations: 82.83 kB / 373.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3902, allocations: 0.7823 MB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.3902, allocations: 3.312 kB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.3903, allocations: 32.03 kB / 374.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3903, allocations: 20.12 kB / 374.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3915, allocations: 0.5301 MB / 375.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.3954, allocations: 3.409 MB / 378.6 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.3958, allocations: 237.3 kB / 378.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3961, allocations: 119.5 kB / 379 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3961, allocations: 2.812 kB / 379 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.3961, allocations: 37.48 kB / 379 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.3961, allocations: 0 / 379 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001774/0.3979, allocations: 1.076 MB / 380.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3979, allocations: 84.48 kB / 380.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/0.3988, allocations: 0.7302 MB / 380.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3988, allocations: 31.42 kB / 380.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.3991, allocations: 498.7 kB / 381.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.3992, allocations: 108.5 kB / 381.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.3992, allocations: 15.53 kB / 381.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3993, allocations: 379.2 kB / 381.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.3996, allocations: 126.1 kB / 382 MB, free: 13.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.4, allocations: 431.6 kB / 382.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.4003, allocations: 198.8 kB / 382.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4003, allocations: 3.344 kB / 382.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001029/0.4014, allocations: 0.6268 MB / 383.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4014, allocations: 7.578 kB / 383.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4014, allocations: 10.59 kB / 383.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.4016, allocations: 33.78 kB / 383.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.402, allocations: 141.9 kB / 383.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007234/0.4028, allocations: 1.287 MB / 384.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.4032, allocations: 47.34 kB / 384.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.4032, allocations: 34.08 kB / 384.8 MB, free: 11.75 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.4035, allocations: 233.3 kB / 385.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.4036, allocations: 69.25 kB / 385.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.4042, allocations: 339.9 kB / 385.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4042, allocations: 5.734 kB / 385.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4043, allocations: 1.156 kB / 385.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4043, allocations: 1.453 kB / 385.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.406, allocations: 1.117 MB / 386.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.406, allocations: 5.766 kB / 386.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.4063, allocations: 66 kB / 386.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.4064, allocations: 23.12 kB / 386.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4064, allocations: 7.984 kB / 386.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006693/0.4071, allocations: 1.276 MB / 388 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4071, allocations: 2.125 kB / 388 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.408, allocations: 0.5734 MB / 388.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.4082, allocations: 174.4 kB / 388.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.4083, allocations: 8.688 kB / 388.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.4087, allocations: 26.08 kB / 388.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.4087, allocations: 29.31 kB / 388.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4088, allocations: 11.58 kB / 388.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007273/0.4095, allocations: 0.5014 MB / 389.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4095, allocations: 0 / 389.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008032/0.4103, allocations: 162.4 kB / 389.4 MB, free: 8.586 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.4105, allocations: 118.7 kB / 389.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007965/0.4113, allocations: 468.6 kB / 390 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4113, allocations: 0.625 kB / 390 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.4117, allocations: 243.7 kB / 390.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.4126, allocations: 168.4 kB / 390.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.4151, allocations: 1.747 MB / 392.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.4156, allocations: 0.9448 MB / 393.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003853/0.416, allocations: 84.5 kB / 393.2 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4161, allocations: 47.02 kB / 393.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.4161, allocations: 5.344 kB / 393.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of Templates: time 0.01515/0.4313, allocations: 7.463 MB / 400.7 MB, free: 2.793 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches