Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001063, allocations: 182.1 kB / 18.04 MB, free: 3.656 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.267/1.267, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007169/0.0007172, allocations: 91.05 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1959, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3182, allocations: 119.9 MB / 496.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3184, allocations: 87.95 kB / 497 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.479/0.7975, allocations: 160.1 MB / 0.6417 GB, free: 6.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7975, allocations: 0 / 0.6417 GB, free: 6.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003246/0.7978, allocations: 103.9 kB / 0.6418 GB, free: 6.164 MB / 410.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.0118/0.8096, allocations: 4.325 MB / 0.646 GB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8097, allocations: 16.03 kB / 0.646 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.8146, allocations: 0.9207 MB / 0.6469 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1755/0.9901, allocations: 3.235 MB / 0.6501 GB, free: 58.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.9904, allocations: 302.3 kB / 0.6504 GB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.9915, allocations: 403 kB / 0.6508 GB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007851/0.9993, allocations: 5.17 MB / 0.6558 GB, free: 57.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.594e-05/0.9994, allocations: 11.17 kB / 0.6558 GB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.9998, allocations: 171.9 kB / 0.656 GB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.9999, allocations: 170 kB / 0.6562 GB, free: 57.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006591/1.007, allocations: 4.217 MB / 0.6603 GB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/1.03, allocations: 16.89 MB / 0.6768 GB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005336/1.036, allocations: 8.414 MB / 0.685 GB, free: 48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/1.038, allocations: 1.705 MB / 0.6867 GB, free: 47.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006899/1.045, allocations: 4.88 MB / 0.6914 GB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.045, allocations: 54.78 kB / 0.6915 GB, free: 46.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.266e-06/1.045, allocations: 0 / 0.6915 GB, free: 46.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.01068/1.056, allocations: 6.122 MB / 0.6975 GB, free: 44.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.056, allocations: 71.38 kB / 0.6975 GB, free: 44.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.059, allocations: 2.255 MB / 0.6997 GB, free: 43.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/1.059, allocations: 49.58 kB / 0.6998 GB, free: 43.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/1.06, allocations: 1.847 MB / 0.7016 GB, free: 42.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/1.06, allocations: 0.5429 MB / 0.7021 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/1.06, allocations: 45.72 kB / 0.7021 GB, free: 41.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/1.06, allocations: 388.7 kB / 0.7025 GB, free: 41.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.062, allocations: 0.8282 MB / 0.7033 GB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.063, allocations: 1.532 MB / 0.7048 GB, free: 40.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.066, allocations: 2.513 MB / 0.7073 GB, free: 38.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.066, allocations: 7.219 kB / 0.7073 GB, free: 38.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004126/1.07, allocations: 2.833 MB / 0.71 GB, free: 37.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.07, allocations: 19.17 kB / 0.7101 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.07, allocations: 22.97 kB / 0.7101 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/1.071, allocations: 121.7 kB / 0.7102 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.072, allocations: 0.538 MB / 0.7107 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/1.074, allocations: 1.829 MB / 0.7125 GB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.075, allocations: 120.3 kB / 0.7126 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.075, allocations: 92.84 kB / 0.7127 GB, free: 35.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * 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.00208/1.078, allocations: 1.189 MB / 0.7139 GB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/1.078, allocations: 242.6 kB / 0.7141 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/1.082, allocations: 2.44 MB / 0.7165 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.082, allocations: 14.88 kB / 0.7165 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.082, allocations: 7.188 kB / 0.7165 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.082, allocations: 8.75 kB / 0.7165 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/1.09, allocations: 5.75 MB / 0.7221 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.09, allocations: 1.75 kB / 0.7221 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.091, allocations: 300.5 kB / 0.7224 GB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006953/1.092, allocations: 324.2 kB / 0.7227 GB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/1.092, allocations: 37.23 kB / 0.7228 GB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/1.096, allocations: 6.339 MB / 0.729 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.096, allocations: 6.656 kB / 0.729 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/1.101, allocations: 3.534 MB / 0.7324 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/1.102, allocations: 0.4888 MB / 0.7329 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.102, allocations: 35.41 kB / 0.7329 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.103, allocations: 97.56 kB / 0.733 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.104, allocations: 117.6 kB / 0.7331 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/1.104, allocations: 45.84 kB / 0.7332 GB, free: 23.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001956/1.106, allocations: 1.522 MB / 0.7347 GB, free: 23.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.106, allocations: 0 / 0.7347 GB, free: 23.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002155/1.108, allocations: 0.7246 MB / 0.7354 GB, free: 23.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005196/1.108, allocations: 407.9 kB / 0.7358 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00302/1.112, allocations: 2.245 MB / 0.738 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.112, allocations: 3.344 kB / 0.738 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.113, allocations: 1.438 MB / 0.7394 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.117, allocations: 0.5719 MB / 0.7399 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.129, allocations: 8.346 MB / 0.7481 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/1.132, allocations: 2.663 MB / 0.7507 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002396/1.134, allocations: 0.5516 MB / 0.7512 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/1.135, allocations: 163.5 kB / 0.7514 GB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/1.135, allocations: 3.938 kB / 0.7514 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.05437/1.189, allocations: 33.78 MB / 0.7844 GB, free: 11.32 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches