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.001736/0.001736, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002014/0.002014, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.358/1.358, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001809/0.001809, allocations: 55.92 kB / 347.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2224, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009711/0.2321, allocations: 8.977 MB / 405.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.239, allocations: 3.107 MB / 408.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.241, allocations: 63.22 kB / 408.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.2431, allocations: 0.6908 MB / 409.2 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.2463, allocations: 0.8928 MB / 410.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2475, allocations: 411.7 kB / 410.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.2514, allocations: 2.971 MB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.2533, allocations: 1.307 MB / 414.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.2554, allocations: 1.382 MB / 416.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.2581, allocations: 1.655 MB / 417.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.2588, allocations: 354.4 kB / 418.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2599, allocations: 458.8 kB / 418.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.261, allocations: 1.03 MB / 419.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.2629, allocations: 1.293 MB / 420.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005897/0.2688, allocations: 4.724 MB / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2688, allocations: 0 / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2688, allocations: 0 / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.269, allocations: 0 / 425.6 MB, free: 5.711 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.007937/0.2769, allocations: 3.26 MB / 428.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2769, allocations: 15.98 kB / 428.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005125/0.2775, allocations: 341.6 kB / 429.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.2783, allocations: 346.9 kB / 429.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.2819, allocations: 1.592 MB / 431.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.2821, allocations: 180.6 kB / 431.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.2826, allocations: 232 kB / 431.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/0.2891, allocations: 3.233 MB / 434.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/0.2892, allocations: 4 kB / 434.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.2894, allocations: 92 kB / 434.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.2896, allocations: 112.6 kB / 435 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005359/0.2949, allocations: 2.692 MB / 437.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.3118, allocations: 8.742 MB / 446.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.3143, allocations: 1.402 MB / 447.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.3163, allocations: 1.051 MB / 448.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.3166, allocations: 52.95 kB / 449 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3166, allocations: 47.5 kB / 449 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.387e-06/0.3166, allocations: 0 / 449 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01441/0.331, allocations: 6.273 MB / 455.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3311, allocations: 72.72 kB / 455.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.3339, allocations: 1.774 MB / 457.1 MB, free: 5.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.334, allocations: 49.7 kB / 457.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009816/0.335, allocations: 1.182 MB / 458.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.3355, allocations: 476 kB / 458.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/0.336, allocations: 287.5 kB / 459.1 MB, free: 3.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3361, allocations: 301.1 kB / 459.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.3375, allocations: 0.7925 MB / 460.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.3394, allocations: 1.206 MB / 461.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.3427, allocations: 2.091 MB / 463.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3427, allocations: 12 kB / 463.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004837/0.3476, allocations: 2.592 MB / 466.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3476, allocations: 15.94 kB / 466.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3476, allocations: 12 kB / 466.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3487, allocations: 427.5 kB / 466.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3501, allocations: 359.4 kB / 466.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/0.3578, allocations: 6.712 MB / 473.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.3593, allocations: 103.8 kB / 473.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.3595, allocations: 67.98 kB / 473.8 MB, free: 4.254 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.001548/0.361, allocations: 0.8056 MB / 474.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/0.3615, allocations: 190.8 kB / 474.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.3658, allocations: 2.296 MB / 477.1 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3658, allocations: 15.94 kB / 477.1 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.3659, allocations: 4 kB / 477.1 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.3659, allocations: 7.969 kB / 477.1 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.3767, allocations: 4.711 MB / 481.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.3768, allocations: 4 kB / 481.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.3778, allocations: 236.1 kB / 482 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.3791, allocations: 455 kB / 482.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.3793, allocations: 31.98 kB / 482.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/0.3886, allocations: 8.176 MB / 490.7 MB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.3886, allocations: 7.938 kB / 490.7 MB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/0.3948, allocations: 3.443 MB / 494.1 MB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.396, allocations: 366.6 kB / 494.5 MB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.3965, allocations: 35.98 kB / 494.5 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.3975, allocations: 83.91 kB / 494.6 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.3978, allocations: 128.7 kB / 494.7 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.3979, allocations: 40.08 kB / 494.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.4001, allocations: 1.198 MB / 496 MB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 8 kB / 496 MB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001891/0.402, allocations: 0.4999 MB / 496.5 MB, free: 12.85 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.006715/0.4087, allocations: 4.095 MB / 0.4888 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004344/0.413, allocations: 2.319 MB / 0.4911 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.413, allocations: 4 kB / 0.4911 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.4159, allocations: 1.556 MB / 0.4926 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.4187, allocations: 485.8 kB / 0.4931 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03542/0.4541, allocations: 19.39 MB / 0.512 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/0.4563, allocations: 1.427 MB / 0.5134 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001455/0.4578, allocations: 443.5 kB / 0.5138 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.4593, allocations: 0.921 MB / 0.5147 GB, free: 13.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4593, allocations: 0 / 0.5147 GB, free: 13.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/0.7165, allocations: 51.2 MB / 0.5647 GB, free: 149.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.46, allocations: 1.438 kB / 0.5647 GB, free: 149.7 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.116143917664886]