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.001475/0.001475, allocations: 84.39 kB / 22.21 MB, free: 2.293 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.001882/0.001882, allocations: 168.9 kB / 25.61 MB, free: 8.113 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 0.9491/0.9491, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.698e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01294/0.01295, allocations: 15.82 MB / 267.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.02136, allocations: 5.34 MB / 272.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.02302, allocations: 111.3 kB / 272.8 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.0254, allocations: 1.243 MB / 274 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.0281, allocations: 1.649 MB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.02947, allocations: 1.067 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.03359, allocations: 5.307 MB / 282 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.03549, allocations: 2.132 MB / 284.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.03856, allocations: 3.649 MB / 287.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.04087, allocations: 2.498 MB / 290.3 MB, free: 188 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005446/0.04142, allocations: 0.6055 MB / 290.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.04245, allocations: 0.8159 MB / 291.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007655/0.04321, allocations: 1.46 MB / 293.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.04446, allocations: 1.789 MB / 295 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.04796, allocations: 4.225 MB / 299.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.04796, allocations: 0 / 299.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.04796, allocations: 4 kB / 299.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.256e-05/0.048, allocations: 0 / 299.2 MB, free: 7.262 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.006034/0.05404, allocations: 5.462 MB / 304.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.05408, allocations: 11.98 kB / 304.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.05671, allocations: 1.383 MB / 306.1 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.05928, allocations: 2.491 MB / 308.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.05943, allocations: 300.5 kB / 308.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/0.05979, allocations: 400.3 kB / 309.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.0631, allocations: 2.932 MB / 312.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/0.06316, allocations: 7.984 kB / 312.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.06338, allocations: 164 kB / 312.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.0635, allocations: 172 kB / 312.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.06536, allocations: 1.187 MB / 313.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.07762, allocations: 13.38 MB / 327.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.07979, allocations: 2.211 MB / 329.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.0807, allocations: 0.7793 MB / 330.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003656/0.08436, allocations: 2.937 MB / 333 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.08439, allocations: 46.7 kB / 333 MB, free: 4.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 2.555e-06/0.0844, allocations: 0 / 333 MB, free: 4.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.004656/0.08905, allocations: 2.891 MB / 335.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.08909, allocations: 72.72 kB / 336 MB, free: 1.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.09087, allocations: 1.788 MB / 337.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.09095, allocations: 49.7 kB / 337.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.09253, allocations: 2.025 MB / 339.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.09292, allocations: 0.585 MB / 340.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005114/0.09343, allocations: 425.5 kB / 340.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.09354, allocations: 484.7 kB / 341.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.09394, allocations: 224.1 kB / 341.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/0.09489, allocations: 1.301 MB / 342.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.09645, allocations: 1.69 MB / 344.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.09646, allocations: 8 kB / 344.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002419/0.09888, allocations: 1.656 MB / 346.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.09891, allocations: 19.44 kB / 346.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.09893, allocations: 24 kB / 346.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.09915, allocations: 103.8 kB / 346.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.1005, allocations: 0.5032 MB / 346.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1017, allocations: 2.161 MB / 349 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.1026, allocations: 95.92 kB / 349.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1027, allocations: 76 kB / 349.2 MB, free: 3.461 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.0005913/0.1033, allocations: 307.8 kB / 349.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.1036, allocations: 282.5 kB / 349.8 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.1054, allocations: 1.246 MB / 351 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.1054, allocations: 20 kB / 351 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1054, allocations: 4 kB / 351 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.1054, allocations: 7.969 kB / 351 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1168/0.2223, allocations: 3.866 MB / 354.9 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2223, allocations: 3.219 kB / 354.9 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.2229, allocations: 258.1 kB / 355.2 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.2233, allocations: 256.3 kB / 355.4 MB, free: 76.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.2234, allocations: 40.52 kB / 355.5 MB, free: 76.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.2259, allocations: 7.049 MB / 362.5 MB, free: 70.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2259, allocations: 0 / 362.5 MB, free: 70.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.2278, allocations: 1.7 MB / 364.2 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.2283, allocations: 372.2 kB / 364.6 MB, free: 70.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.2285, allocations: 36.12 kB / 364.6 MB, free: 70.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.2289, allocations: 67.36 kB / 364.7 MB, free: 70.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2291, allocations: 114.4 kB / 364.8 MB, free: 70.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.2291, allocations: 36.83 kB / 364.8 MB, free: 70.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006557/0.2298, allocations: 0.9333 MB / 365.7 MB, free: 70.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2298, allocations: 0 / 365.7 MB, free: 70.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001443/0.2312, allocations: 0.6579 MB / 366.4 MB, free: 70.12 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.0002173/0.2315, allocations: 178 kB / 366.6 MB, free: 70.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2325, allocations: 1.19 MB / 367.8 MB, free: 69.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2325, allocations: 2.844 kB / 367.8 MB, free: 69.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.2333, allocations: 1.106 MB / 368.9 MB, free: 69.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2344, allocations: 0.5158 MB / 369.4 MB, free: 69.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.2406, allocations: 6.048 MB / 375.4 MB, free: 66.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.2412, allocations: 0.9324 MB / 376.4 MB, free: 66.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008057/0.2421, allocations: 317.7 kB / 376.7 MB, free: 66.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.2429, allocations: 0.5844 MB / 377.3 MB, free: 66.35 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2429, allocations: 3.594 kB / 377.3 MB, free: 66.35 MB / 330.7 MB Notification: Performance of Templates: time 0.03628/0.2791, allocations: 31.02 MB / 408.3 MB, free: 38.28 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.78994284523651]