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.00125/0.00125, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00178/0.003031, allocations: 445.7 kB / 10.37 MB, free: 328 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.001192/0.001192, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002748, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9259/0.9259, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1441/1.07, allocations: 49.48 MB / 220.5 MB, free: 1.449 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 2.745e-06/2.745e-06, allocations: 4 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.381e-05, allocations: 6.25 kB / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01814/0.01816, allocations: 15.99 MB / 237.9 MB, free: 72 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.03115, allocations: 5.599 MB / 243.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.03315, allocations: 119.2 kB / 243.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.03524, allocations: 1.279 MB / 244.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.03811, allocations: 1.641 MB / 246.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.03963, allocations: 1.071 MB / 247.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.04329, allocations: 5.342 MB / 252.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.0452, allocations: 2.203 MB / 255.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.04856, allocations: 3.974 MB / 259.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.05062, allocations: 2.502 MB / 261.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.05111, allocations: 0.6055 MB / 262.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.05231, allocations: 0.8199 MB / 263 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008101/0.05312, allocations: 1.177 MB / 264.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.05494, allocations: 1.497 MB / 265.7 MB, free: 4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.05885, allocations: 3.991 MB / 269.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.05887, allocations: 4 kB / 269.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.05887, allocations: 0 / 269.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.22e-05/0.05891, allocations: 0 / 269.7 MB, free: 15.99 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.006329/0.06524, allocations: 6.151 MB / 275.8 MB, free: 9.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.06527, allocations: 8.031 kB / 275.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.06773, allocations: 1.3 MB / 277.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.0699, allocations: 1.715 MB / 278.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.07005, allocations: 304.5 kB / 279.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.0704, allocations: 404.3 kB / 279.5 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.07385, allocations: 3 MB / 282.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/0.0739, allocations: 4 kB / 282.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.07413, allocations: 164 kB / 282.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.07423, allocations: 168 kB / 282.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.07588, allocations: 1.187 MB / 284.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1389/0.2148, allocations: 10.66 MB / 294.7 MB, free: 28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.2175, allocations: 1.946 MB / 296.7 MB, free: 27.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2185, allocations: 0.7241 MB / 297.4 MB, free: 27.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003898/0.2224, allocations: 2.307 MB / 299.7 MB, free: 27.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2224, allocations: 47.34 kB / 299.7 MB, free: 27.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.697e-06/0.2224, allocations: 0 / 299.7 MB, free: 27.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=159): time 0.004511/0.2269, allocations: 2.62 MB / 302.4 MB, free: 26.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.227, allocations: 70.28 kB / 302.4 MB, free: 26.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.2282, allocations: 1.519 MB / 303.9 MB, free: 26.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.2283, allocations: 53.92 kB / 304 MB, free: 26.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.2288, allocations: 1.617 MB / 305.6 MB, free: 25.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.2291, allocations: 0.5692 MB / 306.2 MB, free: 25.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.2295, allocations: 389.6 kB / 306.6 MB, free: 25.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.2295, allocations: 301.1 kB / 306.9 MB, free: 24.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.2298, allocations: 236.4 kB / 307.1 MB, free: 24.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.2303, allocations: 0.95 MB / 308 MB, free: 23.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2313, allocations: 1.408 MB / 309.4 MB, free: 22.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.2313, allocations: 3.562 kB / 309.5 MB, free: 22.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00145/0.2328, allocations: 1.322 MB / 310.8 MB, free: 22.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.2328, allocations: 15.69 kB / 310.8 MB, free: 22.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.2328, allocations: 25.94 kB / 310.8 MB, free: 22.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.233, allocations: 84 kB / 310.9 MB, free: 22.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.2342, allocations: 0.6149 MB / 311.5 MB, free: 22.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007862/0.235, allocations: 1.516 MB / 313 MB, free: 21.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.2359, allocations: 94.56 kB / 313.1 MB, free: 21.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.236, allocations: 77.38 kB / 313.2 MB, free: 21.54 MB / 282.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.000715/0.2367, allocations: 261.5 kB / 313.4 MB, free: 21.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.2369, allocations: 187.4 kB / 313.6 MB, free: 21.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2382, allocations: 1.036 MB / 314.7 MB, free: 21.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2382, allocations: 14.53 kB / 314.7 MB, free: 21.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2382, allocations: 3.281 kB / 314.7 MB, free: 21.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2382, allocations: 7.359 kB / 314.7 MB, free: 21.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.2419, allocations: 3.019 MB / 317.7 MB, free: 20.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2419, allocations: 0 / 317.7 MB, free: 20.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.2427, allocations: 382.8 kB / 318.1 MB, free: 20.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.2432, allocations: 244.8 kB / 318.3 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.2436, allocations: 248.1 kB / 318.6 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.2437, allocations: 35.98 kB / 318.6 MB, free: 19.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.246, allocations: 5.087 MB / 323.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.246, allocations: 2.406 kB / 323.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2476, allocations: 1.404 MB / 325.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/0.248, allocations: 36 kB / 325.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.2485, allocations: 59.97 kB / 325.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.2487, allocations: 128.6 kB / 325.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.2488, allocations: 35.97 kB / 325.3 MB, free: 12.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007876/0.2495, allocations: 0.7463 MB / 326.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2495, allocations: 0 / 326.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001997/0.2515, allocations: 0.664 MB / 326.8 MB, free: 11.57 MB / 282.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.0004054/0.2519, allocations: 157 kB / 326.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.2534, allocations: 1.037 MB / 328 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.559e-05/0.2535, allocations: 40 kB / 328 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.2543, allocations: 0.8935 MB / 328.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.2561, allocations: 0.6829 MB / 329.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/0.2819, allocations: 6.197 MB / 335.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.2825, allocations: 0.7844 MB / 336.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.2835, allocations: 315.1 kB / 336.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007421/0.2842, allocations: 0.5225 MB / 337.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2842, allocations: 0 / 337.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of Templates: time 0.04714/0.3314, allocations: 32.62 MB / 370 MB, free: 432 kB / 314.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.663392072543502]