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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 89.56 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 161.1 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.773e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02189/0.02193, allocations: 14.45 MB / 313.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.0348, allocations: 5.18 MB / 318.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.03749, allocations: 111.3 kB / 318.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.0408, allocations: 1.246 MB / 320 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.04606, allocations: 1.642 MB / 321.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.04885, allocations: 1.07 MB / 322.7 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.191/0.2398, allocations: 5.292 MB / 328 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.2435, allocations: 2.121 MB / 330.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007798/0.2513, allocations: 3.309 MB / 333.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005827/0.2572, allocations: 2.189 MB / 335.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001877/0.259, allocations: 0.6144 MB / 336.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.263, allocations: 0.8212 MB / 337 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.2651, allocations: 1.461 MB / 338.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004691/0.2697, allocations: 1.787 MB / 340.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009792/0.2795, allocations: 8.169 MB / 348.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2795, allocations: 0 / 348.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2795, allocations: 0 / 348.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002962/0.2798, allocations: 0 / 348.4 MB, free: 7.703 MB / 302.1 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.01563/0.2955, allocations: 5.371 MB / 353.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/0.2955, allocations: 13.92 kB / 353.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/0.3012, allocations: 1.014 MB / 354.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006658/0.3079, allocations: 2.735 MB / 357.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.3081, allocations: 300.5 kB / 357.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.3092, allocations: 400 kB / 358.3 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.3219, allocations: 5.359 MB / 363.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.322, allocations: 0 / 363.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008071/0.3229, allocations: 168.8 kB / 363.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.3231, allocations: 176 kB / 363.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3348, allocations: 4.434 MB / 368.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/0.3733, allocations: 14.34 MB / 382.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.3802, allocations: 3.183 MB / 385.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/0.3843, allocations: 1.563 MB / 387.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.3947, allocations: 3.855 MB / 391.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.3948, allocations: 51.81 kB / 391.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 4.749e-06/0.3948, allocations: 4 kB / 391.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.01422/0.409, allocations: 5.671 MB / 397 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.4091, allocations: 77.88 kB / 397.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.4136, allocations: 2.088 MB / 399.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.4138, allocations: 57.64 kB / 399.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.4155, allocations: 1.91 MB / 401.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006476/0.4161, allocations: 0.5657 MB / 401.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008048/0.4169, allocations: 391.9 kB / 402.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4171, allocations: 301.1 kB / 402.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.4188, allocations: 0.8472 MB / 403.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.4213, allocations: 1.584 MB / 404.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/0.4257, allocations: 2.554 MB / 407.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.977e-05/0.4257, allocations: 8 kB / 407.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006059/0.4317, allocations: 2.795 MB / 410.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.4318, allocations: 16 kB / 410.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/0.4318, allocations: 27.94 kB / 410.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.4322, allocations: 121.7 kB / 410.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.4345, allocations: 0.5425 MB / 410.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.4364, allocations: 1.857 MB / 412.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4384, allocations: 107.9 kB / 412.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.4386, allocations: 99.98 kB / 413 MB, free: 8.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002599/0.4412, allocations: 1.189 MB / 414.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.4418, allocations: 245.7 kB / 414.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.4477, allocations: 2.255 MB / 416.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.4477, allocations: 20 kB / 416.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/0.4477, allocations: 4 kB / 416.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/0.4478, allocations: 11.97 kB / 416.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.4604, allocations: 4.748 MB / 421.4 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4604, allocations: 4 kB / 421.4 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.4618, allocations: 287.1 kB / 421.7 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.4628, allocations: 310.3 kB / 422 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.463, allocations: 39.98 kB / 422.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/0.4712, allocations: 6.501 MB / 428.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4712, allocations: 4.219 kB / 428.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007223/0.4785, allocations: 3.368 MB / 431.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.4799, allocations: 418.2 kB / 432.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007181/0.4806, allocations: 35.98 kB / 432.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.4823, allocations: 79.94 kB / 432.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/0.4826, allocations: 128.8 kB / 432.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.4828, allocations: 43.98 kB / 432.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003432/0.4862, allocations: 1.383 MB / 434 MB, free: 3.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4862, allocations: 0 / 434 MB, free: 3.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003294/0.4895, allocations: 0.6679 MB / 434.7 MB, free: 2.902 MB / 382.1 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004946/0.49, allocations: 177 kB / 434.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.4949, allocations: 2.1 MB / 437 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.4949, allocations: 4 kB / 437 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.4977, allocations: 1.374 MB / 438.3 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.5012, allocations: 0.4955 MB / 438.8 MB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.5157, allocations: 6.809 MB / 445.6 MB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/0.5193, allocations: 2.121 MB / 447.8 MB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002126/0.5215, allocations: 0.5261 MB / 448.3 MB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.5224, allocations: 160.5 kB / 448.4 MB, free: 5.125 MB / 398.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5224, allocations: 0 / 448.4 MB, free: 5.125 MB / 398.1 MB Notification: Performance of Templates: time 0.06408/0.5864, allocations: 29.04 MB / 477.5 MB, free: 8.113 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.506174057722092]