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.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.001161/0.001161, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.001247/0.001247, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.37/1.37, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 59.92 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08846, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01263/0.1011, allocations: 10.19 MB / 401.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.1074, allocations: 3.295 MB / 404.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.1091, allocations: 55.75 kB / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.1112, allocations: 0.7376 MB / 405.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.1143, allocations: 0.8777 MB / 406.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1155, allocations: 411.4 kB / 406.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.1195, allocations: 2.973 MB / 409.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.1222, allocations: 1.754 MB / 411.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.1242, allocations: 1.355 MB / 413 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.127, allocations: 1.728 MB / 414.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.128, allocations: 356 kB / 415.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1296, allocations: 459.8 kB / 415.5 MB, free: 440 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.1311, allocations: 1.032 MB / 416.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.1341, allocations: 1.602 MB / 418.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00645/0.1405, allocations: 4.69 MB / 422.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1405, allocations: 4 kB / 422.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1405, allocations: 0 / 422.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.1407, allocations: 0 / 422.9 MB, free: 9.07 MB / 350.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.007613/0.1483, allocations: 3.332 MB / 426.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1483, allocations: 12.03 kB / 426.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00049/0.1488, allocations: 341.6 kB / 426.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.1497, allocations: 346.9 kB / 426.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.153, allocations: 1.668 MB / 428.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.1532, allocations: 180.6 kB / 428.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.1535, allocations: 232 kB / 429 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/0.1588, allocations: 3.129 MB / 432.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/0.1588, allocations: 4 kB / 432.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.159, allocations: 92 kB / 432.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.1592, allocations: 108.6 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.1639, allocations: 2.704 MB / 435 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.1808, allocations: 9.652 MB / 444.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.1837, allocations: 2.087 MB / 446.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.1859, allocations: 1.046 MB / 447.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.1862, allocations: 211.2 kB / 448 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1862, allocations: 43.56 kB / 448 MB, free: 15.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.946e-06/0.1862, allocations: 0 / 448 MB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01374/0.1999, allocations: 6.744 MB / 454.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.2, allocations: 68.72 kB / 454.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.2026, allocations: 1.743 MB / 456.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.2027, allocations: 45.7 kB / 456.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009196/0.2036, allocations: 1.182 MB / 457.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.2041, allocations: 479.9 kB / 458.3 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.2045, allocations: 295.4 kB / 458.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2046, allocations: 301.1 kB / 458.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.2059, allocations: 0.7925 MB / 459.7 MB, free: 3.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.2075, allocations: 1.202 MB / 460.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1696/0.3771, allocations: 2.091 MB / 462.9 MB, free: 61.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.3771, allocations: 3.469 kB / 463 MB, free: 61.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005293/0.3824, allocations: 2.667 MB / 465.6 MB, free: 61.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3824, allocations: 14.66 kB / 465.6 MB, free: 61.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.3824, allocations: 12.41 kB / 465.6 MB, free: 61.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/0.3834, allocations: 422.2 kB / 466.1 MB, free: 61.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.3849, allocations: 359.6 kB / 466.4 MB, free: 61.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/0.3909, allocations: 7.082 MB / 473.5 MB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3923, allocations: 104.2 kB / 473.6 MB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3924, allocations: 63.48 kB / 473.7 MB, free: 55.64 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.001263/0.3936, allocations: 0.7977 MB / 474.5 MB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.394, allocations: 194.6 kB / 474.6 MB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.3976, allocations: 2.365 MB / 477 MB, free: 54.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3976, allocations: 16.41 kB / 477 MB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3977, allocations: 5.016 kB / 477 MB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3977, allocations: 6.188 kB / 477 MB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.4047, allocations: 5.082 MB / 482.1 MB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4047, allocations: 2.719 kB / 482.1 MB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008887/0.4056, allocations: 241.1 kB / 482.4 MB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009622/0.4065, allocations: 453 kB / 482.8 MB, free: 52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/0.4066, allocations: 33 kB / 482.8 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005609/0.4122, allocations: 8.65 MB / 491.5 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4122, allocations: 3.906 kB / 491.5 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/0.4164, allocations: 3.527 MB / 495 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000915/0.4173, allocations: 439.5 kB / 495.4 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.4176, allocations: 31.48 kB / 495.5 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/0.4184, allocations: 88.59 kB / 495.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.4187, allocations: 123.6 kB / 495.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.4188, allocations: 33 kB / 495.7 MB, free: 42.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4201, allocations: 1.207 MB / 496.9 MB, free: 41.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4201, allocations: 0 / 496.9 MB, free: 41.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001495/0.4216, allocations: 0.5038 MB / 497.4 MB, free: 40.65 MB / 382.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.004133/0.4257, allocations: 4.17 MB / 0.4898 GB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.4287, allocations: 2.39 MB / 0.4922 GB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4287, allocations: 1.781 kB / 0.4922 GB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.4306, allocations: 1.568 MB / 0.4937 GB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.4326, allocations: 482 kB / 0.4942 GB, free: 31.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.4551, allocations: 19.5 MB / 0.5132 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4563, allocations: 2.001 MB / 0.5152 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.4574, allocations: 439.5 kB / 0.5156 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008639/0.4583, allocations: 0.925 MB / 0.5165 GB, free: 8.285 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4583, allocations: 0 / 0.5165 GB, free: 8.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09938/0.5577, allocations: 48.22 MB / 0.5636 GB, free: 7.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.23/26.79, allocations: 9.828 kB / 0.5636 GB, free: 7.926 MB / 430.1 MB " [Timeout remaining time 633] (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_2/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_2/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: 29.47274908889085]