Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 188.3 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 43.92 kB / 371.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2737, allocations: 52.19 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01247/0.2862, allocations: 10.37 MB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00793/0.2941, allocations: 3.702 MB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.2967, allocations: 79.5 kB / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.2995, allocations: 0.8388 MB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.3033, allocations: 1.033 MB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.3049, allocations: 0.5266 MB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.3098, allocations: 3.444 MB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.3123, allocations: 1.537 MB / 444.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.3149, allocations: 1.585 MB / 446.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.3184, allocations: 1.977 MB / 448.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008944/0.3193, allocations: 412 kB / 448.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.3208, allocations: 0.6478 MB / 449.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.3221, allocations: 1.157 MB / 450.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.3243, allocations: 1.49 MB / 452.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.3312, allocations: 5.414 MB / 457.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3312, allocations: 0 / 457.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3312, allocations: 0 / 457.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001375/0.3314, allocations: 0 / 457.6 MB, free: 11.96 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.008687/0.3401, allocations: 3.73 MB / 461.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.3401, allocations: 12.03 kB / 461.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.644e-05/0.3402, allocations: 69.58 kB / 461.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.3407, allocations: 384.1 kB / 461.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3422, allocations: 450.6 kB / 462.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.3459, allocations: 1.902 MB / 464.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.3461, allocations: 205.4 kB / 464.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.3465, allocations: 271.9 kB / 464.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006294/0.3528, allocations: 3.646 MB / 468.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.3529, allocations: 11.92 kB / 468.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.3531, allocations: 108 kB / 468.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.3533, allocations: 117.3 kB / 468.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.3587, allocations: 2.968 MB / 471.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.3763, allocations: 9.959 MB / 481.4 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.3789, allocations: 1.518 MB / 482.9 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.3808, allocations: 1.094 MB / 484 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.3811, allocations: 53.27 kB / 484 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.3811, allocations: 51.86 kB / 484.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.538e-06/0.3811, allocations: 0 / 484.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01587/0.397, allocations: 7.097 MB / 491.2 MB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.397, allocations: 68.72 kB / 491.2 MB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.4002, allocations: 1.971 MB / 493.2 MB, free: 7.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4004, allocations: 49.7 kB / 493.3 MB, free: 7.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.4015, allocations: 1.35 MB / 494.6 MB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.4021, allocations: 0.5267 MB / 495.1 MB, free: 5.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.4027, allocations: 331.4 kB / 495.5 MB, free: 5.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4029, allocations: 301.1 kB / 495.8 MB, free: 5.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4044, allocations: 0.894 MB / 496.7 MB, free: 4.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.4063, allocations: 1.368 MB / 498 MB, free: 2.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.4098, allocations: 2.389 MB / 0.4887 GB, free: 16 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.4098, allocations: 4 kB / 0.4887 GB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005315/0.4151, allocations: 2.907 MB / 0.4915 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4151, allocations: 12 kB / 0.4915 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4152, allocations: 16 kB / 0.4916 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.4163, allocations: 454.6 kB / 0.492 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.4179, allocations: 431.3 kB / 0.4924 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.425, allocations: 5.853 MB / 0.4981 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.4267, allocations: 119.9 kB / 0.4982 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.4269, allocations: 75.98 kB / 0.4983 GB, free: 5.926 MB / 414.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.001649/0.4285, allocations: 0.8525 MB / 0.4991 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/0.429, allocations: 226.6 kB / 0.4994 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.4335, allocations: 2.5 MB / 0.5018 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.4336, allocations: 16 kB / 0.5018 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4336, allocations: 4 kB / 0.5018 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4336, allocations: 7.969 kB / 0.5018 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/0.4429, allocations: 5.191 MB / 0.5069 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4429, allocations: 4.406 kB / 0.5069 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.4441, allocations: 287.6 kB / 0.5072 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.4454, allocations: 0.4902 MB / 0.5076 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4455, allocations: 35.98 kB / 0.5077 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00829/0.4538, allocations: 7.335 MB / 0.5148 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4538, allocations: 4 kB / 0.5148 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.4603, allocations: 3.757 MB / 0.5185 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/0.4618, allocations: 418.4 kB / 0.5189 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/0.4622, allocations: 39.94 kB / 0.519 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4634, allocations: 99.88 kB / 0.519 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/0.4637, allocations: 117.1 kB / 0.5192 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.4639, allocations: 43.94 kB / 0.5192 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.4661, allocations: 1.363 MB / 0.5205 GB, free: 14.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4661, allocations: 4 kB / 0.5205 GB, free: 14.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002191/0.4683, allocations: 0.5858 MB / 0.5211 GB, free: 13.97 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.006808/0.4751, allocations: 4.432 MB / 0.5254 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004698/0.4798, allocations: 2.443 MB / 0.5278 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.4798, allocations: 0 / 0.5278 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.4826, allocations: 1.541 MB / 0.5293 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.4853, allocations: 0.4884 MB / 0.5298 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2658/0.7511, allocations: 21.61 MB / 0.5509 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.7526, allocations: 1.581 MB / 0.5525 GB, free: 99.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.7538, allocations: 474.1 kB / 0.5529 GB, free: 99.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.755, allocations: 1.058 MB / 0.5539 GB, free: 98 MB / 446.1 MB Notification: Performance of SimCode: time 2.204e-06/0.755, allocations: 0 / 0.5539 GB, free: 98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09002/0.845, allocations: 56.86 MB / 0.6095 GB, free: 41.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.43, allocations: 19.92 kB / 0.6095 GB, free: 41.84 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 28.377194136963226]