Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001374/0.001374, allocations: 108.2 kB / 21.18 MB, free: 0.7188 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.001587/0.001587, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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 1.486/1.486, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2935, allocations: 49.15 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01089/0.3044, allocations: 10.24 MB / 406.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.3113, allocations: 3.308 MB / 409.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.3133, allocations: 66.44 kB / 410 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.3159, allocations: 0.7373 MB / 410.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.3197, allocations: 0.8968 MB / 411.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3214, allocations: 420 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.3272, allocations: 2.973 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.3304, allocations: 1.343 MB / 416.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.3334, allocations: 1.383 MB / 417.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.3374, allocations: 1.74 MB / 419.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3389, allocations: 358.4 kB / 419.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.3412, allocations: 468 kB / 420.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.3433, allocations: 1.022 MB / 421.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004435/0.3478, allocations: 1.615 MB / 422.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008281/0.356, allocations: 4.69 MB / 427.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3561, allocations: 0 / 427.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3561, allocations: 4 kB / 427.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002098/0.3563, allocations: 0 / 427.6 MB, free: 3.961 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01014/0.3664, allocations: 3.256 MB / 430.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.3665, allocations: 11.98 kB / 430.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/0.3675, allocations: 341.6 kB / 431.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.3688, allocations: 346.8 kB / 431.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/0.3731, allocations: 1.592 MB / 433.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.3733, allocations: 176.6 kB / 433.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006876/0.374, allocations: 239.9 kB / 433.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/0.3809, allocations: 3.133 MB / 436.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-05/0.381, allocations: 3.938 kB / 436.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.3813, allocations: 96 kB / 436.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.3815, allocations: 108.6 kB / 436.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/0.3873, allocations: 2.696 MB / 439.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.4074, allocations: 9.482 MB / 449 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.4104, allocations: 1.422 MB / 450.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.4125, allocations: 1.031 MB / 451.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.4128, allocations: 64.88 kB / 451.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.4129, allocations: 47.56 kB / 451.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.236e-06/0.4129, allocations: 0 / 451.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01632/0.4292, allocations: 6.285 MB / 457.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.4293, allocations: 64.72 kB / 458 MB, free: 5.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.433, allocations: 1.747 MB / 459.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.4333, allocations: 49.64 kB / 459.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4343, allocations: 1.186 MB / 460.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/0.4349, allocations: 472 kB / 461.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/0.4355, allocations: 291.4 kB / 461.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4356, allocations: 305.1 kB / 462 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.4371, allocations: 0.7886 MB / 462.8 MB, free: 196 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.4389, allocations: 1.21 MB / 464 MB, free: 14.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.4423, allocations: 2.091 MB / 466.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.4423, allocations: 0 / 466.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005193/0.4475, allocations: 2.596 MB / 468.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.4475, allocations: 12 kB / 468.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.4476, allocations: 12 kB / 468.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.4486, allocations: 427.4 kB / 469.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.4501, allocations: 359.4 kB / 469.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007988/0.4581, allocations: 6.759 MB / 476.2 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4599, allocations: 107.9 kB / 476.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.4602, allocations: 63.98 kB / 476.4 MB, free: 1.859 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001991/0.4622, allocations: 0.794 MB / 477.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.4628, allocations: 194.9 kB / 477.4 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.4678, allocations: 2.296 MB / 479.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.4679, allocations: 15.98 kB / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4679, allocations: 4 kB / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4679, allocations: 3.984 kB / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.4797, allocations: 4.991 MB / 484.7 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.4797, allocations: 4 kB / 484.7 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4808, allocations: 231.7 kB / 484.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.4821, allocations: 455.1 kB / 485.4 MB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.4822, allocations: 31.98 kB / 485.4 MB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009993/0.4922, allocations: 8.226 MB / 493.6 MB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-05/0.4923, allocations: 4.094 kB / 493.6 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/0.499, allocations: 3.462 MB / 497.1 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.5005, allocations: 370.6 kB / 497.4 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/0.5011, allocations: 32 kB / 497.5 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.5024, allocations: 83.89 kB / 497.6 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.5027, allocations: 136.6 kB / 497.7 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5028, allocations: 39.98 kB / 497.7 MB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.5054, allocations: 1.194 MB / 498.9 MB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5054, allocations: 4 kB / 498.9 MB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002867/0.5082, allocations: 0.4999 MB / 499.4 MB, free: 10.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.007031/0.5153, allocations: 4.087 MB / 0.4917 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004478/0.5197, allocations: 2.312 MB / 0.494 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.5197, allocations: 8.125 kB / 0.494 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.5226, allocations: 1.547 MB / 0.4955 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.5256, allocations: 482.3 kB / 0.4959 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/0.5654, allocations: 19.4 MB / 0.5149 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.568, allocations: 2.001 MB / 0.5169 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001582/0.5696, allocations: 435.5 kB / 0.5173 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.5712, allocations: 0.9249 MB / 0.5182 GB, free: 10.02 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5712, allocations: 4 kB / 0.5182 GB, free: 10.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3134/0.8846, allocations: 49.46 MB / 0.5665 GB, free: 149.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.05/28.93, allocations: 1.375 kB / 0.5665 GB, free: 149.1 MB / 478.1 MB " [Timeout remaining time 631] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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: 31.867806158959866]