Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.0009759/0.0009759, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.000992/0.000992, allocations: 159.9 kB / 25.75 MB, free: 8.582 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.9208/0.9208, allocations: 158.6 MB / 187.5 MB, free: 2.906 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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.78e-05, allocations: 2.312 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009153/0.009171, allocations: 10.14 MB / 261.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.0133, allocations: 3.432 MB / 264.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.01383, allocations: 63.56 kB / 264.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.0149, allocations: 0.7606 MB / 265.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.01644, allocations: 0.908 MB / 266.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.0169, allocations: 439.2 kB / 266.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.01867, allocations: 2.859 MB / 269.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.02044, allocations: 1.285 MB / 271 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.02316, allocations: 1.895 MB / 272.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.02518, allocations: 1.473 MB / 274.4 MB, free: 384 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006133/0.02579, allocations: 336 kB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006925/0.02649, allocations: 431.8 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.02723, allocations: 0.9933 MB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.02867, allocations: 1.045 MB / 277.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.03152, allocations: 2.422 MB / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03152, allocations: 0 / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.93e-06/0.03153, allocations: 3.984 kB / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.597e-05/0.03162, allocations: 0 / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004666/0.03629, allocations: 3.208 MB / 282.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.03633, allocations: 11.98 kB / 282.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.03712, allocations: 0.4951 MB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.03901, allocations: 1.401 MB / 284.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.03911, allocations: 160.8 kB / 284.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.03935, allocations: 232.3 kB / 285.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.04191, allocations: 1.809 MB / 286.9 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.04196, allocations: 4 kB / 286.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.0421, allocations: 91.98 kB / 287 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/0.0422, allocations: 116.3 kB / 287.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.04388, allocations: 0.8413 MB / 287.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008128/0.05201, allocations: 7.479 MB / 295.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.05309, allocations: 0.6625 MB / 296.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.05387, allocations: 0.4983 MB / 296.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.05405, allocations: 61.52 kB / 296.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.05408, allocations: 50.33 kB / 296.7 MB, free: 9.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 3.627e-06/0.05409, allocations: 0 / 296.7 MB, free: 9.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.005838/0.05992, allocations: 3.292 MB / 300 MB, free: 6.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.05996, allocations: 64.41 kB / 300 MB, free: 6.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.06132, allocations: 1.279 MB / 301.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.06138, allocations: 45.7 kB / 301.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/0.06203, allocations: 1.215 MB / 302.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.06233, allocations: 460.1 kB / 303 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.06264, allocations: 277.1 kB / 303.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.06275, allocations: 476.8 kB / 303.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.06317, allocations: 235.8 kB / 304 MB, free: 2.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/0.06386, allocations: 0.84 MB / 304.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.06511, allocations: 1.197 MB / 306 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.06512, allocations: 4 kB / 306 MB, free: 15.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002082/0.0672, allocations: 1.417 MB / 307.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.06723, allocations: 15.44 kB / 307.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.06726, allocations: 12 kB / 307.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.06794, allocations: 258.7 kB / 307.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.06868, allocations: 347.5 kB / 308.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.07269, allocations: 6.654 MB / 314.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.07351, allocations: 99.86 kB / 314.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.0736, allocations: 67.98 kB / 314.9 MB, free: 6.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,12,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.0005097/0.07411, allocations: 252.2 kB / 315.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.07438, allocations: 202.9 kB / 315.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.07605, allocations: 1.133 MB / 316.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.07606, allocations: 12 kB / 316.5 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.07606, allocations: 8 kB / 316.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.07607, allocations: 7.969 kB / 316.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.08016, allocations: 3.184 MB / 319.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.08017, allocations: 12.03 kB / 319.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.08068, allocations: 215.7 kB / 319.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/0.08134, allocations: 306.3 kB / 320.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.08142, allocations: 39.98 kB / 320.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004547/0.08596, allocations: 8.438 MB / 328.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.08597, allocations: 4 kB / 328.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.08839, allocations: 1.708 MB / 330.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.08892, allocations: 302.8 kB / 330.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.08906, allocations: 35.98 kB / 330.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.08953, allocations: 75.92 kB / 330.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.08974, allocations: 108.7 kB / 330.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.08979, allocations: 39.98 kB / 330.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00084/0.09063, allocations: 0.7502 MB / 331.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.09063, allocations: 0 / 331.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001315/0.09194, allocations: 484 kB / 332.2 MB, free: 4.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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,12,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.0003326/0.09228, allocations: 190.9 kB / 332.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.09425, allocations: 1.525 MB / 333.9 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.09425, allocations: 0 / 333.9 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.09561, allocations: 1.293 MB / 335.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.09702, allocations: 444.3 kB / 335.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/0.103, allocations: 4.054 MB / 339.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.1036, allocations: 0.5966 MB / 340.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007946/0.1044, allocations: 309.7 kB / 340.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.1047, allocations: 116.5 kB / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.635e-06/0.1047, allocations: 0 / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.1345/0.2391, allocations: 25.51 MB / 366.2 MB, free: 94.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5659903751220554]