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.001496/0.001496, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001499/0.001499, allocations: 164 kB / 25.02 MB, free: 8.945 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.391/1.391, allocations: 158.6 MB / 186.8 MB, free: 2.93 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.432e-06/1.432e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.338e-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.02067/0.02071, allocations: 14.45 MB / 264.8 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.03214, allocations: 5.196 MB / 270 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.03434, allocations: 115.2 kB / 270.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.03766, allocations: 1.246 MB / 271.4 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.04283, allocations: 1.63 MB / 273 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.0458, allocations: 1.068 MB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00924/0.05504, allocations: 5.302 MB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.05905, allocations: 2.132 MB / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006144/0.06519, allocations: 3.302 MB / 284.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.06883, allocations: 2.186 MB / 287 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000943/0.06977, allocations: 0.6133 MB / 287.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.0715, allocations: 0.8199 MB / 288.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.07302, allocations: 1.468 MB / 289.9 MB, free: 48 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.0759, allocations: 1.789 MB / 291.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.08681, allocations: 8.164 MB / 299.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.08682, allocations: 0 / 299.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08682, allocations: 0 / 299.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001999/0.08702, allocations: 0 / 299.9 MB, free: 6.066 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.01459/0.1016, allocations: 5.371 MB / 305.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1017, allocations: 15.98 kB / 305.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.1077, allocations: 1.508 MB / 306.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/0.1141, allocations: 2.835 MB / 309.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.1144, allocations: 308.5 kB / 309.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007925/0.1152, allocations: 400.3 kB / 310.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.1263, allocations: 5.368 MB / 315.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-05/0.1264, allocations: 4 kB / 315.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.1268, allocations: 168 kB / 315.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.127, allocations: 168 kB / 316 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009035/0.136, allocations: 4.439 MB / 320.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.1645, allocations: 14.62 MB / 335.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006467/0.1709, allocations: 3.181 MB / 338.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.1742, allocations: 1.557 MB / 339.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009211/0.1834, allocations: 3.91 MB / 343.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/0.1835, allocations: 55.86 kB / 343.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=156): time 3.487e-06/0.1835, allocations: 0 / 343.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01357/0.197, allocations: 5.725 MB / 349.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.1971, allocations: 72.7 kB / 349.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.2006, allocations: 2.088 MB / 351.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.2007, allocations: 53.7 kB / 351.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.12/0.3207, allocations: 1.904 MB / 353.6 MB, free: 99.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/0.3214, allocations: 0.5666 MB / 354.2 MB, free: 99.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007811/0.3222, allocations: 396.2 kB / 354.6 MB, free: 99.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.3223, allocations: 302.2 kB / 354.8 MB, free: 99.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.3237, allocations: 0.8425 MB / 355.7 MB, free: 99.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3252, allocations: 1.582 MB / 357.3 MB, free: 98.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.3279, allocations: 2.558 MB / 359.8 MB, free: 96.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.3279, allocations: 8.562 kB / 359.8 MB, free: 96.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003969/0.3319, allocations: 2.894 MB / 362.7 MB, free: 95.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.3319, allocations: 15.72 kB / 362.7 MB, free: 95.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.3319, allocations: 25.28 kB / 362.8 MB, free: 95.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.3322, allocations: 128.7 kB / 362.9 MB, free: 95.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.334, allocations: 0.5389 MB / 363.4 MB, free: 95.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3352, allocations: 1.852 MB / 365.3 MB, free: 93.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.3367, allocations: 119.8 kB / 365.4 MB, free: 93.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3368, allocations: 96.42 kB / 365.5 MB, free: 93.58 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.001624/0.3384, allocations: 1.192 MB / 366.7 MB, free: 92.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.3388, allocations: 290.5 kB / 367 MB, free: 92.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.3422, allocations: 2.252 MB / 369.2 MB, free: 90.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.3422, allocations: 16 kB / 369.2 MB, free: 90.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3422, allocations: 4 kB / 369.2 MB, free: 90.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3422, allocations: 13.02 kB / 369.3 MB, free: 90.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/0.3488, allocations: 4.769 MB / 374 MB, free: 86.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3488, allocations: 3.984 kB / 374 MB, free: 86.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.35, allocations: 283.6 kB / 374.3 MB, free: 86.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009012/0.3509, allocations: 347.7 kB / 374.6 MB, free: 85.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/0.351, allocations: 35.98 kB / 374.7 MB, free: 85.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.3558, allocations: 6.539 MB / 381.2 MB, free: 79.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3558, allocations: 0 / 381.2 MB, free: 79.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00447/0.3603, allocations: 3.431 MB / 384.7 MB, free: 75.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.3611, allocations: 422.3 kB / 385.1 MB, free: 75.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.3613, allocations: 32 kB / 385.1 MB, free: 75.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3624, allocations: 87.92 kB / 385.2 MB, free: 75.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.3626, allocations: 121.1 kB / 385.3 MB, free: 74.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.3627, allocations: 42.92 kB / 385.3 MB, free: 74.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001547/0.3642, allocations: 1.387 MB / 386.7 MB, free: 73.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 386.7 MB, free: 73.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001852/0.3661, allocations: 0.6678 MB / 387.4 MB, free: 72.8 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.000294/0.3664, allocations: 168.9 kB / 387.6 MB, free: 72.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.3692, allocations: 2.108 MB / 389.7 MB, free: 70.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3692, allocations: 0 / 389.7 MB, free: 70.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.3709, allocations: 1.376 MB / 391 MB, free: 69.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.3729, allocations: 0.5025 MB / 391.5 MB, free: 68.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.382, allocations: 6.924 MB / 398.5 MB, free: 61.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.3837, allocations: 2.133 MB / 400.6 MB, free: 59.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001794/0.3855, allocations: 0.5222 MB / 401.1 MB, free: 58.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.386, allocations: 160.5 kB / 401.3 MB, free: 58.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.386, allocations: 0 / 401.3 MB, free: 58.8 MB / 330.7 MB Notification: Performance of Templates: time 0.04269/0.4287, allocations: 29.15 MB / 430.4 MB, free: 29.67 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=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.081305111059919]