Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.001684/0.001684, allocations: 104 kB / 21.96 MB, free: 5.215 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.002049/0.002049, allocations: 210.6 kB / 25.25 MB, free: 3.133 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.331/1.331, allocations: 207.7 MB / 236.1 MB, free: 9.805 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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="cs",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.001627/0.001627, allocations: 55.86 kB / 348 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2423, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01051/0.2528, allocations: 8.466 MB / 405.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.2596, allocations: 2.981 MB / 408.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.2615, allocations: 65.16 kB / 408.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2636, allocations: 0.6622 MB / 409.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.2666, allocations: 0.8052 MB / 410.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.2676, allocations: 392.7 kB / 410.5 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.2713, allocations: 2.564 MB / 413.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.2733, allocations: 1.277 MB / 414.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.2755, allocations: 1.213 MB / 415.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.2783, allocations: 1.53 MB / 417.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.2789, allocations: 318.2 kB / 417.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.28, allocations: 422.6 kB / 417.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.281, allocations: 0.9191 MB / 418.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.2825, allocations: 1.145 MB / 419.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005161/0.2877, allocations: 4.19 MB / 424.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2877, allocations: 1.219 kB / 424.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2877, allocations: 0 / 424.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.2879, allocations: 4 kB / 424.1 MB, free: 7.594 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.007192/0.295, allocations: 2.884 MB / 427 MB, free: 5.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2951, allocations: 15.98 kB / 427 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.945e-05/0.2952, allocations: 56.41 kB / 427 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004687/0.2956, allocations: 316.2 kB / 427.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008386/0.2965, allocations: 307.1 kB / 427.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2992, allocations: 1.374 MB / 429 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.2994, allocations: 164.2 kB / 429.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.2997, allocations: 215.9 kB / 429.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/0.3051, allocations: 2.9 MB / 432.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.3051, allocations: 7.891 kB / 432.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.3054, allocations: 84 kB / 432.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3055, allocations: 108.2 kB / 432.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.3098, allocations: 2.347 MB / 434.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.3234, allocations: 7.689 MB / 442.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.3257, allocations: 1.186 MB / 443.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.3274, allocations: 0.8968 MB / 444.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.3276, allocations: 52.91 kB / 444.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3276, allocations: 43.56 kB / 444.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.396e-06/0.3276, allocations: 0 / 444.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01259/0.3402, allocations: 5.678 MB / 450.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3403, allocations: 64.41 kB / 450.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.3423, allocations: 1.437 MB / 451.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.3424, allocations: 49.7 kB / 451.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/0.3432, allocations: 1.067 MB / 453 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.3435, allocations: 420.4 kB / 453.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.344, allocations: 259.5 kB / 453.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3442, allocations: 361.9 kB / 454 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.3453, allocations: 0.6832 MB / 454.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3467, allocations: 1.074 MB / 455.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.3494, allocations: 1.86 MB / 457.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.3494, allocations: 4 kB / 457.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003959/0.3534, allocations: 2.323 MB / 459.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3534, allocations: 16.19 kB / 460 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3534, allocations: 19.94 kB / 460 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009491/0.3544, allocations: 415.1 kB / 460.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.3555, allocations: 331.5 kB / 460.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/0.3629, allocations: 6.689 MB / 467.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.3644, allocations: 103.9 kB / 467.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.3646, allocations: 55.98 kB / 467.6 MB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * 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.001305/0.3659, allocations: 0.6886 MB / 468.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.3662, allocations: 167 kB / 468.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.3701, allocations: 2.024 MB / 470.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3701, allocations: 16 kB / 470.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3701, allocations: 7.984 kB / 470.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3701, allocations: 3.984 kB / 470.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.378, allocations: 4.228 MB / 474.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.378, allocations: 4 kB / 474.7 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/0.3789, allocations: 211.7 kB / 474.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3801, allocations: 447.4 kB / 475.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/0.3802, allocations: 35.92 kB / 475.4 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008632/0.3888, allocations: 8.16 MB / 483.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.3888, allocations: 7.938 kB / 483.5 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.3942, allocations: 3.021 MB / 486.6 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.3953, allocations: 314.8 kB / 486.9 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.3955, allocations: 35.92 kB / 486.9 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009096/0.3964, allocations: 83.91 kB / 487 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.3967, allocations: 104.8 kB / 487.1 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.3968, allocations: 39.94 kB / 487.1 MB, free: 7.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.3983, allocations: 0.9847 MB / 488.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3983, allocations: 0 / 488.1 MB, free: 6.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4003, allocations: 456 kB / 488.6 MB, free: 5.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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,6,100.0%), (1,1,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.005754/0.406, allocations: 3.672 MB / 492.2 MB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.4099, allocations: 2.072 MB / 494.3 MB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4099, allocations: 0 / 494.3 MB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.4123, allocations: 1.412 MB / 495.7 MB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.4145, allocations: 425 kB / 496.1 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/0.4424, allocations: 16.79 MB / 0.5009 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.4439, allocations: 1.235 MB / 0.5021 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001091/0.445, allocations: 365.6 kB / 0.5024 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.4461, allocations: 0.8117 MB / 0.5032 GB, free: 9.918 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4461, allocations: 0 / 0.5032 GB, free: 9.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0908/0.5369, allocations: 44.85 MB / 0.547 GB, free: 12.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.72, allocations: 4.062 kB / 0.547 GB, free: 12.93 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_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_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.06179439101834]