Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 43.94 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2556, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01518/0.2708, allocations: 11.92 MB / 434.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008753/0.2795, allocations: 3.758 MB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.2819, allocations: 87.44 kB / 438.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.2849, allocations: 0.9163 MB / 439.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.2887, allocations: 1.154 MB / 440.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.2902, allocations: 499.3 kB / 441 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005767/0.2959, allocations: 4.218 MB / 445.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.2992, allocations: 1.845 MB / 447 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.3026, allocations: 1.951 MB / 449 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004895/0.3075, allocations: 2.39 MB / 451.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.3091, allocations: 0.4961 MB / 451.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.3112, allocations: 0.5858 MB / 452.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.3136, allocations: 1.418 MB / 453.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004815/0.3184, allocations: 2.205 MB / 456.1 MB, free: 13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3289, allocations: 6.575 MB / 462.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3289, allocations: 0 / 462.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3289, allocations: 0 / 462.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002735/0.3292, allocations: 0 / 462.6 MB, free: 6.398 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01355/0.3428, allocations: 4.328 MB / 467 MB, free: 2.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3428, allocations: 8.031 kB / 467 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001482/0.3443, allocations: 446.5 kB / 467.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.3461, allocations: 462.3 kB / 467.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006726/0.3529, allocations: 2.34 MB / 470.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.3532, allocations: 230.2 kB / 470.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.3542, allocations: 319.9 kB / 470.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3648, allocations: 4.369 MB / 475.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.3649, allocations: 3.953 kB / 475.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006725/0.3656, allocations: 124 kB / 475.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.3658, allocations: 134 kB / 475.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008731/0.3745, allocations: 3.779 MB / 479.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.4037, allocations: 13.25 MB / 492.4 MB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.4078, allocations: 2.088 MB / 494.5 MB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.4111, allocations: 1.567 MB / 496.1 MB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.4114, allocations: 53.27 kB / 496.1 MB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4115, allocations: 55.81 kB / 496.2 MB, free: 4.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.709e-06/0.4115, allocations: 0 / 496.2 MB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01988/0.4314, allocations: 8.494 MB / 0.4928 GB, free: 11.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.4314, allocations: 69.41 kB / 0.4929 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/0.4359, allocations: 2.365 MB / 0.4952 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.4363, allocations: 57.7 kB / 0.4953 GB, free: 9.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.4376, allocations: 1.501 MB / 0.4967 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007473/0.4383, allocations: 0.6313 MB / 0.4973 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007428/0.4391, allocations: 367.5 kB / 0.4977 GB, free: 6.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4392, allocations: 301.1 kB / 0.498 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.4412, allocations: 1.124 MB / 0.4991 GB, free: 5.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.4435, allocations: 1.57 MB / 0.5006 GB, free: 3.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004374/0.4479, allocations: 2.784 MB / 0.5033 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4479, allocations: 4 kB / 0.5033 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006847/0.4548, allocations: 3.594 MB / 0.5068 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.4548, allocations: 22.22 kB / 0.5069 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.4548, allocations: 12 kB / 0.5069 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.4569, allocations: 0.802 MB / 0.5077 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4587, allocations: 455.3 kB / 0.5081 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.4708, allocations: 10.66 MB / 0.5185 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.4728, allocations: 127.9 kB / 0.5186 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/0.4731, allocations: 79.98 kB / 0.5187 GB, free: 216 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0023/0.4754, allocations: 1.084 MB / 0.5198 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007372/0.4762, allocations: 262.3 kB / 0.52 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006365/0.4825, allocations: 3.285 MB / 0.5232 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.4826, allocations: 20 kB / 0.5232 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.4826, allocations: 4 kB / 0.5232 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.4826, allocations: 15.97 kB / 0.5233 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.4965, allocations: 6.808 MB / 0.5299 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4965, allocations: 0 / 0.5299 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.4978, allocations: 303.8 kB / 0.5302 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.5003, allocations: 0.9236 MB / 0.5311 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.5004, allocations: 39.98 kB / 0.5311 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2294/0.7298, allocations: 13.9 MB / 0.5447 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7298, allocations: 0 / 0.5447 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.736, allocations: 4.855 MB / 0.5495 GB, free: 96.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.7374, allocations: 0.5063 MB / 0.5499 GB, free: 96.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.7378, allocations: 40.14 kB / 0.55 GB, free: 96.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.7391, allocations: 122.6 kB / 0.5501 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/0.7395, allocations: 169.2 kB / 0.5503 GB, free: 96.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7396, allocations: 48.73 kB / 0.5503 GB, free: 96.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002176/0.7418, allocations: 1.624 MB / 0.5519 GB, free: 95.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7418, allocations: 0 / 0.5519 GB, free: 95.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002472/0.7443, allocations: 0.7051 MB / 0.5526 GB, free: 95.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00666/0.751, allocations: 5.52 MB / 0.558 GB, free: 92.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.7553, allocations: 3.338 MB / 0.5612 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7553, allocations: 0 / 0.5612 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.7582, allocations: 2.347 MB / 0.5635 GB, free: 86.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.7613, allocations: 0.7112 MB / 0.5642 GB, free: 86.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/0.7958, allocations: 26.35 MB / 0.59 GB, free: 59.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.7976, allocations: 2.521 MB / 0.5924 GB, free: 56.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001739/0.7994, allocations: 0.5905 MB / 0.593 GB, free: 56.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.8008, allocations: 1.261 MB / 0.5942 GB, free: 54.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8008, allocations: 0 / 0.5942 GB, free: 54.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/0.9243, allocations: 68.76 MB / 0.6614 GB, free: 2.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.33, allocations: 11.8 kB / 0.6614 GB, free: 2.594 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.893859467003495]