Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001765/0.001765, allocations: 195.1 kB / 8.538 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.268/1.268, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008223, allocations: 91.62 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.883e-06, allocations: 0 / 343.2 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 51.46 MB / 394.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4291, allocations: 120.7 MB / 0.5032 GB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4294, allocations: 93.69 kB / 0.5033 GB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.5499/0.9793, allocations: 164.8 MB / 0.6642 GB, free: 61.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003534/0.9798, allocations: 110 kB / 0.6643 GB, free: 61.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01127/0.991, allocations: 3.975 MB / 0.6682 GB, free: 59.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9911, allocations: 9.031 kB / 0.6682 GB, free: 59.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/0.9974, allocations: 0.9702 MB / 0.6692 GB, free: 59.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/1.008, allocations: 3.845 MB / 0.6729 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/1.008, allocations: 132.1 kB / 0.6731 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/1.009, allocations: 239.5 kB / 0.6733 GB, free: 57.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009086/1.018, allocations: 3.853 MB / 0.677 GB, free: 55.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009453/1.028, allocations: 4.483 MB / 0.6814 GB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.49e-05/1.028, allocations: 7.891 kB / 0.6814 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/1.028, allocations: 6.781 kB / 0.6814 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.028, allocations: 170.8 kB / 0.6816 GB, free: 53.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/1.054, allocations: 16.37 MB / 0.6976 GB, free: 41.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/1.056, allocations: 1.289 MB / 0.6988 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/1.058, allocations: 1.704 MB / 0.7005 GB, free: 38.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008046/1.066, allocations: 5.788 MB / 0.7062 GB, free: 32.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.067, allocations: 60.56 kB / 0.7062 GB, free: 32.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=192): time 5.6e-06/1.067, allocations: 0 / 0.7062 GB, free: 32.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.00973/1.076, allocations: 5.236 MB / 0.7113 GB, free: 27.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/1.076, allocations: 73.41 kB / 0.7114 GB, free: 27.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/1.079, allocations: 1.673 MB / 0.713 GB, free: 25.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.079, allocations: 29.7 kB / 0.7131 GB, free: 25.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/1.08, allocations: 1.477 MB / 0.7145 GB, free: 24.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/1.08, allocations: 0.635 MB / 0.7151 GB, free: 23.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.08, allocations: 0 / 0.7151 GB, free: 23.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/1.08, allocations: 402.8 kB / 0.7155 GB, free: 23.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.082, allocations: 0.8911 MB / 0.7164 GB, free: 22.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.083, allocations: 1.568 MB / 0.7179 GB, free: 20.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/1.085, allocations: 1.236 MB / 0.7191 GB, free: 19.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.085, allocations: 8 kB / 0.7191 GB, free: 19.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.0046/1.09, allocations: 2.905 MB / 0.722 GB, free: 16.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.09, allocations: 4 kB / 0.722 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.09, allocations: 23.98 kB / 0.722 GB, free: 16.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/1.09, allocations: 122.1 kB / 0.7221 GB, free: 16.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.092, allocations: 0.6006 MB / 0.7227 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/1.093, allocations: 1.727 MB / 0.7244 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.095, allocations: 83.92 kB / 0.7245 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.096, allocations: 104 kB / 0.7246 GB, free: 13.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (299): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003211/1.096, allocations: 164.2 kB / 0.7247 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/1.096, allocations: 237.1 kB / 0.7249 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/1.101, allocations: 2.647 MB / 0.7275 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.101, allocations: 20 kB / 0.7275 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.101, allocations: 4 kB / 0.7275 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.101, allocations: 11.88 kB / 0.7276 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/1.11, allocations: 5.933 MB / 0.7334 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.11, allocations: 0 / 0.7334 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.111, allocations: 359.7 kB / 0.7337 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/1.112, allocations: 316.1 kB / 0.734 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.112, allocations: 19.98 kB / 0.734 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1775/1.29, allocations: 5.991 MB / 0.7399 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.29, allocations: 3.594 kB / 0.7399 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005153/1.295, allocations: 4.057 MB / 0.7438 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.296, allocations: 0.5134 MB / 0.7443 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.297, allocations: 11.62 kB / 0.7443 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.298, allocations: 66.16 kB / 0.7444 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.298, allocations: 111.2 kB / 0.7445 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.298, allocations: 52.89 kB / 0.7446 GB, free: 102.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001675/1.3, allocations: 1.237 MB / 0.7458 GB, free: 102.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002081/1.302, allocations: 0.6613 MB / 0.7464 GB, free: 102.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.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 (165): * Single equations (assignments): 162 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005076/1.302, allocations: 433.2 kB / 0.7468 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002872/1.305, allocations: 2.41 MB / 0.7492 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.305, allocations: 0 / 0.7492 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.307, allocations: 1.465 MB / 0.7506 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.309, allocations: 419.7 kB / 0.751 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.319, allocations: 5.722 MB / 0.7566 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/1.322, allocations: 2.93 MB / 0.7595 GB, free: 99.61 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.322, allocations: 0 / 0.7595 GB, free: 99.61 MB / 442.7 MB Notification: Performance of Templates: time 0.05396/1.376, allocations: 31.69 MB / 0.7904 GB, free: 98.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches