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.0008491/0.0008491, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001995, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007265/0.0007265, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001788, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9358/0.9358, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1552/1.091, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.473e-06/1.473e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.239e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01483/0.01486, allocations: 15.99 MB / 238 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009768/0.02463, allocations: 5.615 MB / 243.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.02784, allocations: 115.2 kB / 243.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.03206, allocations: 1.279 MB / 245 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.0375, allocations: 1.634 MB / 246.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.04005, allocations: 1.072 MB / 247.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006636/0.04668, allocations: 5.349 MB / 253.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.04999, allocations: 2.203 MB / 255.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006471/0.05646, allocations: 3.982 MB / 259.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/0.06056, allocations: 2.498 MB / 261.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.06214, allocations: 0.6055 MB / 262.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.0649, allocations: 0.8238 MB / 263.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.06633, allocations: 1.169 MB / 264.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.06993, allocations: 1.494 MB / 265.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.07557, allocations: 3.991 MB / 269.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.07559, allocations: 0 / 269.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07559, allocations: 4 kB / 269.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.07574, allocations: 0 / 269.8 MB, free: 15.88 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.009519/0.08526, allocations: 6.147 MB / 276 MB, free: 9.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.0853, allocations: 8.031 kB / 276 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.08892, allocations: 1.3 MB / 277.3 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.09242, allocations: 1.715 MB / 279 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.09259, allocations: 304.5 kB / 279.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/0.09313, allocations: 408.2 kB / 279.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.09741, allocations: 3 MB / 282.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.09747, allocations: 7.938 kB / 282.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.09773, allocations: 160 kB / 282.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.09785, allocations: 168 kB / 283 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.0999, allocations: 1.187 MB / 284.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1466/0.2465, allocations: 10.65 MB / 294.9 MB, free: 28.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.2492, allocations: 1.943 MB / 296.8 MB, free: 28.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.2502, allocations: 0.7164 MB / 297.5 MB, free: 28.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.2505, allocations: 88.84 kB / 297.6 MB, free: 28.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2505, allocations: 56.12 kB / 297.7 MB, free: 28.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=219): time 3.727e-06/0.2505, allocations: 0 / 297.7 MB, free: 28.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=223): time 0.006243/0.2567, allocations: 3.391 MB / 301.1 MB, free: 27.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2568, allocations: 79.06 kB / 301.1 MB, free: 27.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.2581, allocations: 1.471 MB / 302.6 MB, free: 27.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.2582, allocations: 66.73 kB / 302.7 MB, free: 27.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.2588, allocations: 1.51 MB / 304.2 MB, free: 26.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.2591, allocations: 0.7852 MB / 305 MB, free: 25.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.2595, allocations: 437.8 kB / 305.4 MB, free: 25.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.2596, allocations: 304.6 kB / 305.7 MB, free: 25.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.26, allocations: 274.9 kB / 306 MB, free: 25.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.2606, allocations: 0.9588 MB / 306.9 MB, free: 24.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.2621, allocations: 1.546 MB / 308.5 MB, free: 23.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.2621, allocations: 5.25 kB / 308.5 MB, free: 23.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=325) (initialization): time 0.002054/0.2642, allocations: 1.419 MB / 309.9 MB, free: 23.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.2642, allocations: 16.53 kB / 309.9 MB, free: 23.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.2642, allocations: 18.44 kB / 309.9 MB, free: 23.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.2644, allocations: 96.11 kB / 310 MB, free: 23.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.2661, allocations: 0.7794 MB / 310.8 MB, free: 23.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.2669, allocations: 1.529 MB / 312.3 MB, free: 22.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.2681, allocations: 95.17 kB / 312.4 MB, free: 22.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2682, allocations: 87.44 kB / 312.5 MB, free: 22.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (319): * Single equations (assignments): 317 * 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.0008795/0.2691, allocations: 271.4 kB / 312.8 MB, free: 22.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.2694, allocations: 217.5 kB / 313 MB, free: 22.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2709, allocations: 1.258 MB / 314.2 MB, free: 22.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.2709, allocations: 21.28 kB / 314.3 MB, free: 22.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2709, allocations: 5.094 kB / 314.3 MB, free: 22.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.2709, allocations: 14.66 kB / 314.3 MB, free: 22.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/0.2757, allocations: 4.014 MB / 318.3 MB, free: 20.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2757, allocations: 7.938 kB / 318.3 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.2767, allocations: 492.3 kB / 318.8 MB, free: 19.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.2773, allocations: 272.6 kB / 319 MB, free: 19.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/0.2777, allocations: 250.7 kB / 319.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.2778, allocations: 47.98 kB / 319.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.2803, allocations: 5.09 MB / 324.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2803, allocations: 7.375 kB / 324.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2821, allocations: 1.782 MB / 326.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.2824, allocations: 48 kB / 326.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.283, allocations: 79.53 kB / 326.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.2832, allocations: 160.8 kB / 326.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.2832, allocations: 47.98 kB / 326.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006599/0.2839, allocations: 0.7327 MB / 327.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2839, allocations: 0 / 327.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001853/0.2857, allocations: 0.7148 MB / 328 MB, free: 10.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (196): * Single equations (assignments): 193 * 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.000346/0.2861, allocations: 180.9 kB / 328.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2876, allocations: 1.239 MB / 329.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.477e-05/0.2876, allocations: 43.77 kB / 329.5 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009618/0.2886, allocations: 1.157 MB / 330.6 MB, free: 7.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.2907, allocations: 5.226 MB / 335.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/0.3178, allocations: 6.457 MB / 342.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.3189, allocations: 0.8031 MB / 343.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001419/0.3203, allocations: 360.8 kB / 343.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.3214, allocations: 0.5694 MB / 344 MB, free: 9.484 MB / 298.7 MB Notification: Performance of SimCode: time 3.026e-06/0.3214, allocations: 0 / 344 MB, free: 9.484 MB / 298.7 MB Notification: Performance of Templates: time 0.05306/0.3745, allocations: 35.73 MB / 379.7 MB, free: 5.809 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7641829950734973]