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.001203/0.001203, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001194/0.001194, allocations: 165.5 kB / 25.33 MB, free: 8.594 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.8861/0.8861, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.553e-06/1.553e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.682e-05, allocations: 2.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009042/0.009069, allocations: 10.19 MB / 261.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005873/0.01494, allocations: 3.42 MB / 264.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.01655, allocations: 71.5 kB / 264.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.01828, allocations: 0.7683 MB / 265.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.02072, allocations: 0.9196 MB / 266.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.02156, allocations: 439.2 kB / 266.9 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.02504, allocations: 2.851 MB / 269.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.02666, allocations: 1.289 MB / 271 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.02966, allocations: 2.136 MB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.03192, allocations: 1.387 MB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008706/0.03279, allocations: 324 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.03381, allocations: 427.7 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.03457, allocations: 0.9426 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.036, allocations: 1.017 MB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.03866, allocations: 2.367 MB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.03867, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.03867, allocations: 3.938 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.03879, allocations: 0 / 279.6 MB, free: 10.78 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.004674/0.04346, allocations: 3.134 MB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.04352, allocations: 11.98 kB / 282.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.04432, allocations: 0.4912 MB / 283.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.04596, allocations: 1.441 MB / 284.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.04605, allocations: 168.8 kB / 284.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.04626, allocations: 220.3 kB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.04869, allocations: 1.821 MB / 286.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.246e-05/0.04875, allocations: 7.953 kB / 286.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.04888, allocations: 88 kB / 287 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.421e-05/0.04897, allocations: 120.3 kB / 287.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.05054, allocations: 0.8257 MB / 287.9 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.06087, allocations: 7.338 MB / 295.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.06238, allocations: 0.704 MB / 296 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.06313, allocations: 0.4989 MB / 296.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.06333, allocations: 56.95 kB / 296.5 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.06337, allocations: 54.33 kB / 296.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 4.609e-06/0.06337, allocations: 0 / 296.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.006462/0.06984, allocations: 3.214 MB / 299.8 MB, free: 6.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.06988, allocations: 64.41 kB / 299.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.0714, allocations: 1.267 MB / 301.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.07147, allocations: 45.7 kB / 301.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.07214, allocations: 1.215 MB / 302.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.07245, allocations: 452.2 kB / 302.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000632/0.07308, allocations: 277.1 kB / 303.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.07318, allocations: 476.8 kB / 303.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.07357, allocations: 231.8 kB / 303.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.07419, allocations: 0.8361 MB / 304.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.07536, allocations: 1.197 MB / 305.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.07537, allocations: 4 kB / 305.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002124/0.0775, allocations: 1.417 MB / 307.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.07754, allocations: 15.28 kB / 307.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.07756, allocations: 15.98 kB / 307.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.07816, allocations: 262.2 kB / 307.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.07885, allocations: 331.5 kB / 307.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.08304, allocations: 6.657 MB / 314.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.08388, allocations: 83.89 kB / 314.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.08396, allocations: 63.98 kB / 314.6 MB, free: 6.188 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.0005487/0.08451, allocations: 256.2 kB / 314.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.08477, allocations: 203 kB / 315.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.08624, allocations: 1.125 MB / 316.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.08625, allocations: 12 kB / 316.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.08626, allocations: 8.047 kB / 316.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.08627, allocations: 11.95 kB / 316.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.09038, allocations: 3.133 MB / 319.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.09039, allocations: 4 kB / 319.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.09089, allocations: 203.7 kB / 319.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.0915, allocations: 286.8 kB / 319.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.09157, allocations: 39.98 kB / 319.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.09608, allocations: 8.371 MB / 328.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.09608, allocations: 4 kB / 328.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.09845, allocations: 1.704 MB / 330 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.09897, allocations: 274.8 kB / 330.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.0991, allocations: 35.98 kB / 330.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.09953, allocations: 67.94 kB / 330.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.09974, allocations: 108.7 kB / 330.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.09979, allocations: 39.98 kB / 330.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.1011, allocations: 0.7307 MB / 331.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1011, allocations: 0 / 331.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001634/0.1027, allocations: 475.9 kB / 331.7 MB, free: 4.316 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004135/0.1031, allocations: 198.9 kB / 331.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.1052, allocations: 1.517 MB / 333.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.1052, allocations: 3.984 kB / 333.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.1065, allocations: 1.261 MB / 334.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.1079, allocations: 429.9 kB / 335.1 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.1141, allocations: 4.033 MB / 339.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.1146, allocations: 0.5927 MB / 339.7 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008226/0.1155, allocations: 313.7 kB / 340 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.1157, allocations: 112.5 kB / 340.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1157, allocations: 3.938 kB / 340.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Templates: time 0.1431/0.2589, allocations: 25.58 MB / 365.7 MB, free: 90.03 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.6874826760031283]