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.0009321/0.0009321, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005347/0.005347, allocations: 165.9 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8575/0.8575, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.174e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.1494/0.1495, allocations: 8.971 MB / 307.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004506/0.154, allocations: 3.116 MB / 310.5 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.1547, allocations: 66.12 kB / 310.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1558, allocations: 0.6883 MB / 311.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.1573, allocations: 0.9148 MB / 312.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.158, allocations: 423.4 kB / 312.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1602, allocations: 3.086 MB / 315.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.1615, allocations: 1.307 MB / 317 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.1632, allocations: 1.995 MB / 319 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.1646, allocations: 1.493 MB / 320.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.165, allocations: 355 kB / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/0.1656, allocations: 454.2 kB / 321.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.1664, allocations: 1.063 MB / 322.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.1673, allocations: 1.109 MB / 323.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.1701, allocations: 4.732 MB / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1701, allocations: 0 / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1701, allocations: 0 / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.643e-05/0.1701, allocations: 5.812 kB / 328.2 MB, free: 15.2 MB / 298.7 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.003813/0.1739, allocations: 3.228 MB / 331.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.174, allocations: 14.33 kB / 331.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003366/0.1743, allocations: 343.1 kB / 331.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005303/0.1748, allocations: 345.9 kB / 332.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.1767, allocations: 1.594 MB / 333.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.1768, allocations: 169 kB / 333.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.177, allocations: 236.5 kB / 334.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.1803, allocations: 3.237 MB / 337.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.1803, allocations: 5.078 kB / 337.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.1805, allocations: 104 kB / 337.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/0.1806, allocations: 108.6 kB / 337.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.1835, allocations: 2.684 MB / 340.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/0.1925, allocations: 8.746 MB / 349 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1941, allocations: 1.404 MB / 350.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.1953, allocations: 1.052 MB / 351.4 MB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.1955, allocations: 57.94 kB / 351.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1955, allocations: 43.56 kB / 351.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.504e-06/0.1955, allocations: 0 / 351.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.008073/0.2036, allocations: 6.273 MB / 357.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2036, allocations: 72.72 kB / 357.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.2052, allocations: 1.77 MB / 359.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.2053, allocations: 49.7 kB / 359.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.2058, allocations: 1.17 MB / 360.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.2061, allocations: 479.9 kB / 361.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.2063, allocations: 275.5 kB / 361.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.2064, allocations: 312.9 kB / 361.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008378/0.2073, allocations: 0.7885 MB / 362.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2083, allocations: 1.214 MB / 363.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.2101, allocations: 2.095 MB / 366 MB, free: 10.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2101, allocations: 8 kB / 366 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002747/0.2129, allocations: 2.588 MB / 368.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2129, allocations: 12 kB / 368.6 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.2129, allocations: 13.94 kB / 368.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.2135, allocations: 423.5 kB / 369 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.2142, allocations: 359.4 kB / 369.4 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.2187, allocations: 6.699 MB / 376.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.2194, allocations: 111.8 kB / 376.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.2195, allocations: 63.98 kB / 376.3 MB, free: 15.59 MB / 346.7 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.001088/0.2206, allocations: 0.7978 MB / 377.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2208, allocations: 190.8 kB / 377.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.2234, allocations: 2.284 MB / 379.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2234, allocations: 16 kB / 379.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2234, allocations: 4 kB / 379.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2234, allocations: 15.84 kB / 379.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.2286, allocations: 4.718 MB / 384.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2286, allocations: 0 / 384.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.2292, allocations: 244.1 kB / 384.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006365/0.2298, allocations: 455.2 kB / 385 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.2299, allocations: 35.98 kB / 385 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.235, allocations: 8.179 MB / 393.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.235, allocations: 8 kB / 393.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.2385, allocations: 3.431 MB / 396.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.239, allocations: 370.7 kB / 397 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.2392, allocations: 31.98 kB / 397 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.2397, allocations: 87.91 kB / 397.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.2398, allocations: 124.7 kB / 397.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.2399, allocations: 39.98 kB / 397.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.2411, allocations: 1.198 MB / 398.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2411, allocations: 4 kB / 398.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001322/0.2424, allocations: 0.5038 MB / 399 MB, free: 8.195 MB / 362.7 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.003997/0.2464, allocations: 4.077 MB / 403 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.249, allocations: 2.315 MB / 405.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.249, allocations: 0 / 405.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.2505, allocations: 1.572 MB / 406.9 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.2518, allocations: 476.2 kB / 407.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/0.2731, allocations: 19.34 MB / 426.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.2742, allocations: 1.427 MB / 428.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007901/0.275, allocations: 443.5 kB / 428.6 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/0.2757, allocations: 0.926 MB / 429.5 MB, free: 8.711 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.2757, allocations: 0 / 429.5 MB, free: 8.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/0.4966, allocations: 51.19 MB / 480.7 MB, free: 143.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.724, allocations: 11.59 kB / 480.7 MB, free: 143.2 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 10.61644311901182]