Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008909/0.0008908, allocations: 91.75 kB / 286.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.992e-06/6.382e-06, allocations: 0 / 343.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 51.48 MB / 394.6 MB, free: 33.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.465, allocations: 115.1 MB / 0.4978 GB, free: 101.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.4652, allocations: 83.55 kB / 0.4979 GB, free: 101.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.203/0.6682, allocations: 85.37 MB / 0.5812 GB, free: 25.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002628/0.6685, allocations: 75.88 kB / 0.5813 GB, free: 25.61 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01088/0.6794, allocations: 2.805 MB / 0.5841 GB, free: 22.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6795, allocations: 8.031 kB / 0.5841 GB, free: 22.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.6835, allocations: 495.6 kB / 0.5845 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/0.6913, allocations: 1.969 MB / 0.5865 GB, free: 20.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.6915, allocations: 95.94 kB / 0.5865 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.6927, allocations: 159.9 kB / 0.5867 GB, free: 19.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009219/0.7019, allocations: 2.58 MB / 0.5892 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.7123, allocations: 3.055 MB / 0.5922 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.7125, allocations: 4 kB / 0.5922 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006831/0.7132, allocations: 7.906 kB / 0.5922 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.7134, allocations: 117.2 kB / 0.5923 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.7355, allocations: 10.78 MB / 0.6029 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.7372, allocations: 1.03 MB / 0.6039 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.7387, allocations: 1.094 MB / 0.6049 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.739, allocations: 215.5 kB / 0.6051 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.7391, allocations: 52.53 kB / 0.6052 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=136): time 2.915e-06/0.7391, allocations: 0 / 0.6052 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01208/0.7512, allocations: 5.817 MB / 0.6109 GB, free: 10.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.7512, allocations: 68.72 kB / 0.6109 GB, free: 10.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.7541, allocations: 1.477 MB / 0.6124 GB, free: 9.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.7543, allocations: 29.7 kB / 0.6124 GB, free: 9.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.755, allocations: 1.022 MB / 0.6134 GB, free: 8.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.7556, allocations: 0.5273 MB / 0.6139 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.7557, allocations: 0 / 0.6139 GB, free: 7.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7559, allocations: 373.9 kB / 0.6143 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.7572, allocations: 0.8825 MB / 0.6151 GB, free: 6.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.7588, allocations: 1.333 MB / 0.6164 GB, free: 4.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.7606, allocations: 1.091 MB / 0.6175 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.7606, allocations: 4 kB / 0.6175 GB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00529/0.7659, allocations: 2.899 MB / 0.6203 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7659, allocations: 8.312 kB / 0.6203 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/0.766, allocations: 16 kB / 0.6204 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.7678, allocations: 0.6238 MB / 0.621 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.7696, allocations: 435.4 kB / 0.6214 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.7772, allocations: 5.143 MB / 0.6264 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.7791, allocations: 79.86 kB / 0.6265 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.7794, allocations: 71.98 kB / 0.6266 GB, free: 10.21 MB / 410.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.0003983/0.7798, allocations: 156.4 kB / 0.6267 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/0.7804, allocations: 193.7 kB / 0.6269 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.7854, allocations: 2.656 MB / 0.6295 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.7854, allocations: 16 kB / 0.6295 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.7854, allocations: 8 kB / 0.6295 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.7855, allocations: 8.094 kB / 0.6295 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.7958, allocations: 5.353 MB / 0.6347 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.7958, allocations: 7.938 kB / 0.6347 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.7972, allocations: 283.9 kB / 0.635 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.7993, allocations: 0.6773 MB / 0.6357 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.7994, allocations: 15.98 kB / 0.6357 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00911/0.8085, allocations: 6.743 MB / 0.6423 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.8086, allocations: 7.906 kB / 0.6423 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006555/0.8152, allocations: 4.133 MB / 0.6463 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8164, allocations: 482.5 kB / 0.6468 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/0.8168, allocations: 15.98 kB / 0.6468 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.818, allocations: 79.83 kB / 0.6469 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.8183, allocations: 97.16 kB / 0.647 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.8184, allocations: 47.98 kB / 0.647 GB, free: 4.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001602/0.82, allocations: 1.109 MB / 0.6481 GB, free: 3.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001975/0.822, allocations: 0.574 MB / 0.6487 GB, free: 3.074 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.000599/0.8226, allocations: 333.8 kB / 0.649 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.8267, allocations: 2.555 MB / 0.6515 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8267, allocations: 4 kB / 0.6515 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1344/0.9611, allocations: 1.556 MB / 0.653 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.9632, allocations: 341 kB / 0.6533 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/0.9708, allocations: 4.657 MB / 0.6579 GB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/0.9728, allocations: 2.321 MB / 0.6601 GB, free: 120.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9728, allocations: 5.969 kB / 0.6601 GB, free: 120.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04212/1.015, allocations: 28.35 MB / 0.6878 GB, free: 119.7 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches