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.001887/0.001887, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.001845/0.001845, allocations: 161.5 kB / 25.03 MB, free: 8.934 MB / 18.57 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.378/1.378, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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 1.674e-06/1.674e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.049e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02323/0.02326, allocations: 16.19 MB / 266.6 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.03522, allocations: 5.364 MB / 271.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.03789, allocations: 111.3 kB / 272 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.04171, allocations: 1.246 MB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.04759, allocations: 1.638 MB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.0506, allocations: 1.079 MB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008468/0.05907, allocations: 5.299 MB / 281.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.06326, allocations: 2.14 MB / 283.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006529/0.06979, allocations: 3.337 MB / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.07444, allocations: 2.405 MB / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.07579, allocations: 0.6133 MB / 289.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.07806, allocations: 0.8238 MB / 290.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.07971, allocations: 1.48 MB / 292.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.0831, allocations: 1.812 MB / 293.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.09467, allocations: 8.207 MB / 302.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.09467, allocations: 4 kB / 302.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09467, allocations: 3.938 kB / 302.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002536/0.09493, allocations: 0 / 302.1 MB, free: 3.809 MB / 282.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.01714/0.1121, allocations: 6.111 MB / 308.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1121, allocations: 11.98 kB / 308.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.1186, allocations: 1.508 MB / 309.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006949/0.1256, allocations: 2.685 MB / 312.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.1259, allocations: 304.5 kB / 312.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000866/0.1268, allocations: 404.3 kB / 313.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.1381, allocations: 5.424 MB / 318.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-05/0.1382, allocations: 0 / 318.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.1387, allocations: 164 kB / 318.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.1389, allocations: 172 kB / 318.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008779/0.1476, allocations: 3.896 MB / 322.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/0.1901, allocations: 25.16 MB / 348 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/0.1964, allocations: 2.974 MB / 350.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.1993, allocations: 1.396 MB / 352.3 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1245/0.3238, allocations: 3.96 MB / 356.3 MB, free: 95.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3239, allocations: 54.02 kB / 356.3 MB, free: 95.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=156): time 4.338e-06/0.3239, allocations: 3.344 kB / 356.3 MB, free: 95.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.009664/0.3335, allocations: 4.964 MB / 361.3 MB, free: 94.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3336, allocations: 75.33 kB / 361.4 MB, free: 94.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.3364, allocations: 2.636 MB / 364 MB, free: 93.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/0.3365, allocations: 57.2 kB / 364.1 MB, free: 93.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009494/0.3374, allocations: 2.144 MB / 366.2 MB, free: 91.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.3378, allocations: 0.6274 MB / 366.8 MB, free: 91.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.3384, allocations: 0.5029 MB / 367.3 MB, free: 91.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.3384, allocations: 476.8 kB / 367.8 MB, free: 90.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3394, allocations: 0.6552 MB / 368.5 MB, free: 90.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3409, allocations: 1.797 MB / 370.3 MB, free: 88.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.3434, allocations: 2.665 MB / 372.9 MB, free: 86.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.3434, allocations: 11.94 kB / 372.9 MB, free: 86.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003583/0.347, allocations: 2.547 MB / 375.5 MB, free: 84.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.347, allocations: 16.62 kB / 375.5 MB, free: 84.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.3471, allocations: 20.53 kB / 375.5 MB, free: 84.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.3474, allocations: 127.3 kB / 375.6 MB, free: 84.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.3492, allocations: 0.5343 MB / 376.2 MB, free: 83.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3504, allocations: 2.402 MB / 378.6 MB, free: 80.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.3519, allocations: 111.9 kB / 378.7 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.352, allocations: 95.98 kB / 378.8 MB, free: 80.76 MB / 330.7 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.001435/0.3535, allocations: 1.075 MB / 379.9 MB, free: 79.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.3538, allocations: 286.5 kB / 380.1 MB, free: 79.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.357, allocations: 1.942 MB / 382.1 MB, free: 77.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.357, allocations: 16 kB / 382.1 MB, free: 77.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.357, allocations: 4 kB / 382.1 MB, free: 77.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.357, allocations: 7.969 kB / 382.1 MB, free: 77.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007947/0.3649, allocations: 5.693 MB / 387.8 MB, free: 71.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3649, allocations: 0 / 387.8 MB, free: 71.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.3661, allocations: 281.4 kB / 388.1 MB, free: 71.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008971/0.367, allocations: 358.3 kB / 388.4 MB, free: 71.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.3671, allocations: 39.98 kB / 388.5 MB, free: 70.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.372, allocations: 8.233 MB / 396.7 MB, free: 62.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.372, allocations: 7.938 kB / 396.7 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.3761, allocations: 2.956 MB / 399.7 MB, free: 59.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.3771, allocations: 386.4 kB / 400 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.3774, allocations: 39.48 kB / 400.1 MB, free: 58.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.3784, allocations: 79.94 kB / 400.2 MB, free: 58.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.3786, allocations: 129 kB / 400.3 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.3787, allocations: 43.98 kB / 400.3 MB, free: 58.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.3804, allocations: 1.489 MB / 401.8 MB, free: 57.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 0 / 401.8 MB, free: 57.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002081/0.3825, allocations: 0.6663 MB / 402.5 MB, free: 56.54 MB / 330.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.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.0002932/0.3828, allocations: 171.9 kB / 402.6 MB, free: 56.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.3856, allocations: 2.015 MB / 404.7 MB, free: 54.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3856, allocations: 4.125 kB / 404.7 MB, free: 54.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.3872, allocations: 1.484 MB / 406.1 MB, free: 52.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.3892, allocations: 0.5275 MB / 406.7 MB, free: 52.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.3978, allocations: 6.577 MB / 413.3 MB, free: 45.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.3994, allocations: 1.989 MB / 415.2 MB, free: 43.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001465/0.4008, allocations: 466.7 kB / 415.7 MB, free: 43.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.4012, allocations: 156.5 kB / 415.8 MB, free: 43 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4012, allocations: 0 / 415.8 MB, free: 43 MB / 330.7 MB Notification: Performance of Templates: time 0.04171/0.4429, allocations: 29.14 MB / 445 MB, free: 13.88 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] 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.0906078109983355]