Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 177.6 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.000843, allocations: 96.5 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.448e-05/1.452e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09437, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4407, allocations: 114.4 MB / 0.4901 GB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4409, allocations: 91.94 kB / 0.4902 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4675/0.9084, allocations: 85.21 MB / 0.5734 GB, free: 98.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.9085, allocations: 0 / 0.5734 GB, free: 98.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001875/0.9086, allocations: 74 kB / 0.5735 GB, free: 98.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006026/0.9147, allocations: 2.799 MB / 0.5762 GB, free: 96.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9147, allocations: 11.66 kB / 0.5762 GB, free: 96.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.9163, allocations: 441.4 kB / 0.5766 GB, free: 96.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.9197, allocations: 1.958 MB / 0.5785 GB, free: 96.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.9198, allocations: 87.16 kB / 0.5786 GB, free: 96.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.9201, allocations: 166 kB / 0.5788 GB, free: 96.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004092/0.9242, allocations: 2.538 MB / 0.5812 GB, free: 96.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.9286, allocations: 3.011 MB / 0.5842 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/0.9287, allocations: 10.84 kB / 0.5842 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.9289, allocations: 7.156 kB / 0.5842 GB, free: 95.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.929, allocations: 112.4 kB / 0.5843 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.9449, allocations: 10.72 MB / 0.5948 GB, free: 91.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.947, allocations: 2.218 MB / 0.5969 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.9481, allocations: 0.9362 MB / 0.5979 GB, free: 89.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.9484, allocations: 228.6 kB / 0.5981 GB, free: 89.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9485, allocations: 43.47 kB / 0.5981 GB, free: 88.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.567e-06/0.9485, allocations: 3.938 kB / 0.5981 GB, free: 88.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.0102/0.9587, allocations: 5.733 MB / 0.6037 GB, free: 86.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.9587, allocations: 65.69 kB / 0.6038 GB, free: 86.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.9609, allocations: 1.451 MB / 0.6052 GB, free: 85.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.961, allocations: 29.08 kB / 0.6052 GB, free: 85.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/0.9617, allocations: 1.307 MB / 0.6065 GB, free: 84.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.962, allocations: 0.5186 MB / 0.607 GB, free: 84.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.9621, allocations: 3.594 kB / 0.607 GB, free: 84.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9622, allocations: 379.3 kB / 0.6074 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.9632, allocations: 0.8445 MB / 0.6082 GB, free: 83.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.9644, allocations: 1.29 MB / 0.6095 GB, free: 83.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.9656, allocations: 1.062 MB / 0.6105 GB, free: 82.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9656, allocations: 3.531 kB / 0.6105 GB, free: 82.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004019/0.9697, allocations: 2.844 MB / 0.6133 GB, free: 81.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.9697, allocations: 14.08 kB / 0.6133 GB, free: 81.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.9697, allocations: 13.69 kB / 0.6133 GB, free: 81.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.9712, allocations: 0.6161 MB / 0.6139 GB, free: 81.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.9728, allocations: 446.6 kB / 0.6143 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/0.9789, allocations: 5.504 MB / 0.6197 GB, free: 78.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.9812, allocations: 97.27 kB / 0.6198 GB, free: 78.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.9815, allocations: 77.25 kB / 0.6199 GB, free: 78.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.9819, allocations: 155.2 kB / 0.62 GB, free: 78.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.9825, allocations: 203.3 kB / 0.6202 GB, free: 78.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.9868, allocations: 2.585 MB / 0.6227 GB, free: 77.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.9869, allocations: 13.41 kB / 0.6228 GB, free: 77.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.9869, allocations: 11.05 kB / 0.6228 GB, free: 77.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.9869, allocations: 6.141 kB / 0.6228 GB, free: 77.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/0.9955, allocations: 5.302 MB / 0.6279 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.9956, allocations: 4 kB / 0.6279 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.9967, allocations: 292.8 kB / 0.6282 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.9984, allocations: 0.6873 MB / 0.6289 GB, free: 72.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.9985, allocations: 18.19 kB / 0.6289 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006798/1.005, allocations: 7.147 MB / 0.6359 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.005, allocations: 4 kB / 0.6359 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/1.011, allocations: 4.013 MB / 0.6398 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.012, allocations: 491.1 kB / 0.6403 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.012, allocations: 4 kB / 0.6403 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.013, allocations: 93.8 kB / 0.6404 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.014, allocations: 127.4 kB / 0.6405 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/1.014, allocations: 51.33 kB / 0.6406 GB, free: 61.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001454/1.015, allocations: 1.091 MB / 0.6416 GB, free: 60.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.015, allocations: 0 / 0.6416 GB, free: 60.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001951/1.017, allocations: 0.574 MB / 0.6422 GB, free: 59.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005156/1.018, allocations: 330 kB / 0.6425 GB, free: 59.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003326/1.021, allocations: 2.56 MB / 0.645 GB, free: 57.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.021, allocations: 4 kB / 0.645 GB, free: 57.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.023, allocations: 1.63 MB / 0.6466 GB, free: 55.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.025, allocations: 345.5 kB / 0.6469 GB, free: 55.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/1.033, allocations: 4.536 MB / 0.6513 GB, free: 51.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.034, allocations: 2.211 MB / 0.6535 GB, free: 49.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001922/1.036, allocations: 442.3 kB / 0.6539 GB, free: 49.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.037, allocations: 127.4 kB / 0.654 GB, free: 49.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.037, allocations: 4 kB / 0.6541 GB, free: 49 MB / 426.7 MB Notification: Performance of Templates: time 0.04361/1.08, allocations: 27.21 MB / 0.6806 GB, free: 22.18 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches