Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 377.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2618, allocations: 53.41 MB / 431.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01463/0.2764, allocations: 11.94 MB / 443.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008227/0.2847, allocations: 4.02 MB / 447.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.2866, allocations: 79.5 kB / 447.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.2895, allocations: 0.8894 MB / 448.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.2934, allocations: 1.052 MB / 449.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.2953, allocations: 0.5382 MB / 449.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.3011, allocations: 3.483 MB / 453.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.3044, allocations: 1.538 MB / 454.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.3076, allocations: 1.585 MB / 456.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004435/0.312, allocations: 1.993 MB / 458.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.3135, allocations: 408 kB / 458.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.3161, allocations: 0.6947 MB / 459.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.3183, allocations: 1.169 MB / 460.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.3223, allocations: 1.843 MB / 462.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.3317, allocations: 5.404 MB / 467.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3317, allocations: 0 / 467.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3317, allocations: 0 / 467.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002447/0.332, allocations: 0 / 467.8 MB, free: 1.816 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01181/0.3438, allocations: 3.745 MB / 471.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3438, allocations: 12.03 kB / 471.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.3453, allocations: 388.1 kB / 472 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.3481, allocations: 490.5 kB / 472.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.3538, allocations: 1.91 MB / 474.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.3541, allocations: 201.4 kB / 474.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.3551, allocations: 275.9 kB / 474.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.3646, allocations: 3.521 MB / 478.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.3648, allocations: 8 kB / 478.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006869/0.3655, allocations: 112 kB / 478.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.3657, allocations: 117.3 kB / 478.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007492/0.3731, allocations: 2.968 MB / 481.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.3971, allocations: 10.83 MB / 492.4 MB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.4002, allocations: 1.51 MB / 493.9 MB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.4025, allocations: 1.09 MB / 495 MB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.4028, allocations: 57.27 kB / 495 MB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.4029, allocations: 51.75 kB / 495.1 MB, free: 6.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.428e-06/0.4029, allocations: 0 / 495.1 MB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01836/0.4213, allocations: 7.106 MB / 0.4904 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.4213, allocations: 68.66 kB / 0.4905 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.4258, allocations: 1.992 MB / 0.4924 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/0.4261, allocations: 49.7 kB / 0.4925 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4274, allocations: 1.347 MB / 0.4938 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/0.4281, allocations: 0.5307 MB / 0.4943 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/0.429, allocations: 327.5 kB / 0.4946 GB, free: 10.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4291, allocations: 301.1 kB / 0.4949 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.4309, allocations: 0.8862 MB / 0.4958 GB, free: 9.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.433, allocations: 1.376 MB / 0.4971 GB, free: 7.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.4369, allocations: 2.369 MB / 0.4994 GB, free: 5.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.4369, allocations: 12 kB / 0.4994 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006364/0.4433, allocations: 2.911 MB / 0.5023 GB, free: 2.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.4433, allocations: 12 kB / 0.5023 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.4434, allocations: 16 kB / 0.5023 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.4447, allocations: 469.3 kB / 0.5027 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.4464, allocations: 427.3 kB / 0.5032 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/0.4543, allocations: 5.899 MB / 0.5089 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.4563, allocations: 123.8 kB / 0.509 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.4567, allocations: 79.98 kB / 0.5091 GB, free: 11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00215/0.4588, allocations: 0.8447 MB / 0.5099 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/0.4597, allocations: 230.5 kB / 0.5102 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.4653, allocations: 2.504 MB / 0.5126 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.4653, allocations: 16 kB / 0.5126 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.4654, allocations: 4 kB / 0.5126 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.4654, allocations: 7.969 kB / 0.5126 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.4785, allocations: 5.519 MB / 0.518 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.4785, allocations: 4 kB / 0.518 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.4798, allocations: 283.5 kB / 0.5183 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.4814, allocations: 0.4946 MB / 0.5188 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.4816, allocations: 43.97 kB / 0.5188 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009537/0.4911, allocations: 7.36 MB / 0.526 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.4911, allocations: 8 kB / 0.526 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007958/0.4991, allocations: 3.769 MB / 0.5297 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.5009, allocations: 414.4 kB / 0.5301 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000762/0.5017, allocations: 36 kB / 0.5301 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.5035, allocations: 99.88 kB / 0.5302 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/0.5039, allocations: 125 kB / 0.5303 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.5041, allocations: 43.98 kB / 0.5304 GB, free: 4.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003205/0.5073, allocations: 1.372 MB / 0.5317 GB, free: 3.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5073, allocations: 0 / 0.5317 GB, free: 3.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00322/0.5105, allocations: 0.5859 MB / 0.5323 GB, free: 2.664 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (125): * Single equations (assignments): 120 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2665/0.777, allocations: 4.421 MB / 0.5366 GB, free: 98.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004729/0.7817, allocations: 2.449 MB / 0.539 GB, free: 98.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.7817, allocations: 0 / 0.539 GB, free: 98.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.7843, allocations: 1.546 MB / 0.5405 GB, free: 97.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.7869, allocations: 494.3 kB / 0.541 GB, free: 97.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.8197, allocations: 21.68 MB / 0.5622 GB, free: 83.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.8213, allocations: 2.132 MB / 0.5642 GB, free: 81.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001616/0.8229, allocations: 473 kB / 0.5647 GB, free: 80.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.8241, allocations: 1.069 MB / 0.5657 GB, free: 79.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.8241, allocations: 1.641 kB / 0.5657 GB, free: 79.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/0.9372, allocations: 55.22 MB / 0.6197 GB, free: 24.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/17.63, allocations: 4.062 kB / 0.6197 GB, free: 24.63 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 25.20152936410159]