Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.001431/0.001431, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001504/0.001504, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2264, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02074/0.2471, allocations: 17.41 MB / 449.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2588, allocations: 5.726 MB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.2619, allocations: 127.2 kB / 455.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004167/0.266, allocations: 1.313 MB / 457 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.2717, allocations: 1.639 MB / 458.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.2749, allocations: 1.117 MB / 459.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008086/0.283, allocations: 5.237 MB / 465 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004806/0.2878, allocations: 2.309 MB / 467.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.2916, allocations: 2.247 MB / 469.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.2963, allocations: 2.674 MB / 472.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.298, allocations: 0.6133 MB / 472.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.3008, allocations: 0.863 MB / 473.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.303, allocations: 1.429 MB / 475.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004896/0.3079, allocations: 2.656 MB / 477.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.3197, allocations: 8.163 MB / 485.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3197, allocations: 0 / 485.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3197, allocations: 0 / 485.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002343/0.3199, allocations: 0 / 485.9 MB, free: 1.148 MB / 382.1 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.01587/0.3358, allocations: 5.457 MB / 491.4 MB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3358, allocations: 8.031 kB / 491.4 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/0.3418, allocations: 1.021 MB / 492.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007121/0.3489, allocations: 2.941 MB / 495.4 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.3492, allocations: 304.2 kB / 495.7 MB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008946/0.3501, allocations: 403.9 kB / 496.1 MB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.3603, allocations: 5.225 MB / 0.4895 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/0.3604, allocations: 15.88 kB / 0.4896 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.3608, allocations: 160 kB / 0.4897 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.3609, allocations: 172 kB / 0.4899 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008568/0.3695, allocations: 4.466 MB / 0.4942 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.3978, allocations: 16.35 MB / 0.5102 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.4035, allocations: 3.248 MB / 0.5134 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.4073, allocations: 1.986 MB / 0.5153 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008938/0.4163, allocations: 4.603 MB / 0.5198 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.4163, allocations: 59.81 kB / 0.5199 GB, free: 2.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.406e-06/0.4163, allocations: 4 kB / 0.5199 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01219/0.4285, allocations: 5.893 MB / 0.5256 GB, free: 12.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4286, allocations: 76.66 kB / 0.5257 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.4327, allocations: 2.323 MB / 0.528 GB, free: 9.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.4328, allocations: 53.7 kB / 0.528 GB, free: 9.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.4344, allocations: 1.901 MB / 0.5299 GB, free: 7.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/0.4349, allocations: 0.581 MB / 0.5304 GB, free: 7.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.4356, allocations: 399.9 kB / 0.5308 GB, free: 6.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4357, allocations: 301.1 kB / 0.5311 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.4373, allocations: 0.8592 MB / 0.5319 GB, free: 5.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.4395, allocations: 1.574 MB / 0.5335 GB, free: 3.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.4434, allocations: 2.582 MB / 0.536 GB, free: 0.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/0.4434, allocations: 8 kB / 0.536 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.2078/0.6512, allocations: 2.902 MB / 0.5388 GB, free: 96.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.6513, allocations: 16.23 kB / 0.5389 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.6513, allocations: 26.16 kB / 0.5389 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.6518, allocations: 179.1 kB / 0.5391 GB, free: 96.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.6537, allocations: 0.5298 MB / 0.5396 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.6556, allocations: 2.325 MB / 0.5418 GB, free: 94.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.6573, allocations: 118.6 kB / 0.542 GB, free: 94.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6574, allocations: 95.02 kB / 0.5421 GB, free: 94.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.6593, allocations: 1.193 MB / 0.5432 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.6597, allocations: 265.2 kB / 0.5435 GB, free: 93.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.6637, allocations: 2.372 MB / 0.5458 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.6637, allocations: 15.81 kB / 0.5458 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6637, allocations: 3.812 kB / 0.5458 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6637, allocations: 8.297 kB / 0.5458 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007742/0.6715, allocations: 5.723 MB / 0.5514 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.6715, allocations: 2.25 kB / 0.5514 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.6726, allocations: 287.9 kB / 0.5517 GB, free: 90.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007795/0.6734, allocations: 372.2 kB / 0.552 GB, free: 90.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.6734, allocations: 35.62 kB / 0.5521 GB, free: 90.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005143/0.6786, allocations: 7.083 MB / 0.559 GB, free: 84.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6786, allocations: 0 / 0.559 GB, free: 84.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.6834, allocations: 3.508 MB / 0.5624 GB, free: 83.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.6847, allocations: 450.7 kB / 0.5628 GB, free: 83.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.6851, allocations: 39.59 kB / 0.5629 GB, free: 83.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.6862, allocations: 83.02 kB / 0.563 GB, free: 83.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.6865, allocations: 120.7 kB / 0.5631 GB, free: 83.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.6866, allocations: 49.67 kB / 0.5631 GB, free: 83.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002105/0.6887, allocations: 1.567 MB / 0.5646 GB, free: 81.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6887, allocations: 0 / 0.5646 GB, free: 81.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002403/0.6911, allocations: 0.6759 MB / 0.5653 GB, free: 80.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (129): * Single equations (assignments): 126 * 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,8,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.0003694/0.6915, allocations: 185.4 kB / 0.5655 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.6949, allocations: 2.156 MB / 0.5676 GB, free: 78.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6949, allocations: 4 kB / 0.5676 GB, free: 78.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.6968, allocations: 1.407 MB / 0.569 GB, free: 77.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.6998, allocations: 0.6237 MB / 0.5696 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009616/0.7094, allocations: 7.025 MB / 0.5764 GB, free: 69.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.711, allocations: 2.615 MB / 0.579 GB, free: 66.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.7116, allocations: 187.4 kB / 0.5792 GB, free: 66.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7116, allocations: 0 / 0.5792 GB, free: 66.54 MB / 446.1 MB Notification: Performance of Templates: time 0.09081/0.8025, allocations: 96.95 MB / 0.6738 GB, free: 1.715 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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: 13.484881572192535]