Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.001674/0.001674, 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.002037/0.002037, allocations: 217.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.387/1.387, 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.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.001769/0.001769, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 49.16 MB / 396.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.009817/0.2669, allocations: 10.32 MB / 406.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.2739, allocations: 3.618 MB / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.2763, allocations: 78.06 kB / 410.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.2788, allocations: 0.8612 MB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.283, allocations: 1.148 MB / 412.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2844, allocations: 0.5001 MB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006352/0.2907, allocations: 4.257 MB / 417.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/0.2938, allocations: 1.725 MB / 418.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.2976, allocations: 1.953 MB / 420.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005299/0.3029, allocations: 2.305 MB / 423.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.3045, allocations: 0.4998 MB / 423.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3066, allocations: 0.5839 MB / 424.2 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.3082, allocations: 1.414 MB / 425.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003353/0.3116, allocations: 1.789 MB / 427.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00816/0.3197, allocations: 6.606 MB / 434 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3197, allocations: 0 / 434 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3197, allocations: 0 / 434 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.3199, allocations: 0 / 434 MB, free: 13.29 MB / 350.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.009751/0.3297, allocations: 4.324 MB / 438.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3297, allocations: 19.92 kB / 438.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006797/0.3304, allocations: 438.6 kB / 438.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3315, allocations: 462.3 kB / 439.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004495/0.336, allocations: 2.195 MB / 441.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3362, allocations: 238.1 kB / 441.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/0.3367, allocations: 304 kB / 442 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.3441, allocations: 4.595 MB / 446.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.3442, allocations: 4 kB / 446.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.3444, allocations: 124 kB / 446.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.3446, allocations: 138 kB / 446.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/0.3512, allocations: 3.767 MB / 450.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.373, allocations: 12.21 MB / 462.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.3763, allocations: 2.078 MB / 464.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.3791, allocations: 1.567 MB / 466.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.3793, allocations: 49.22 kB / 466.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.3794, allocations: 51.88 kB / 466.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.577e-06/0.3794, allocations: 0 / 466.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.01862/0.398, allocations: 8.584 MB / 475.1 MB, free: 3.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.398, allocations: 73.34 kB / 475.2 MB, free: 3.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.4017, allocations: 2.388 MB / 477.6 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.4019, allocations: 57.7 kB / 477.6 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.4031, allocations: 1.497 MB / 479.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006608/0.4038, allocations: 0.6313 MB / 479.8 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/0.4044, allocations: 367.4 kB / 480.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4045, allocations: 305.1 kB / 480.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.4063, allocations: 1.12 MB / 481.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.4086, allocations: 1.566 MB / 483.1 MB, free: 11.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.4127, allocations: 2.784 MB / 485.9 MB, free: 8.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.4127, allocations: 7.938 kB / 485.9 MB, free: 8.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006305/0.419, allocations: 3.597 MB / 489.5 MB, free: 4.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.419, allocations: 12 kB / 489.5 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.4191, allocations: 12 kB / 489.5 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.4211, allocations: 0.7982 MB / 490.3 MB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.4229, allocations: 463.3 kB / 490.8 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4339, allocations: 10.57 MB / 0.4896 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4358, allocations: 124 kB / 0.4897 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.436, allocations: 76 kB / 0.4898 GB, free: 8.008 MB / 414.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.001852/0.4379, allocations: 1.091 MB / 0.4909 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.4384, allocations: 274.3 kB / 0.4911 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/0.444, allocations: 3.281 MB / 0.4943 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.444, allocations: 20.06 kB / 0.4943 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.444, allocations: 8 kB / 0.4944 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4441, allocations: 11.97 kB / 0.4944 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.456, allocations: 6.419 MB / 0.5006 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.456, allocations: 4.031 kB / 0.5006 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.4572, allocations: 291.6 kB / 0.5009 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.4596, allocations: 0.9313 MB / 0.5018 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.4598, allocations: 39.98 kB / 0.5019 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.4738, allocations: 13.79 MB / 0.5153 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4738, allocations: 4.031 kB / 0.5153 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00818/0.482, allocations: 4.87 MB / 0.5201 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.4836, allocations: 0.5099 MB / 0.5206 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.484, allocations: 32 kB / 0.5206 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.4853, allocations: 127.9 kB / 0.5207 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.4857, allocations: 161.6 kB / 0.5209 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4858, allocations: 48 kB / 0.5209 GB, free: 7.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.4885, allocations: 1.625 MB / 0.5225 GB, free: 5.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4885, allocations: 0 / 0.5225 GB, free: 5.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002891/0.4914, allocations: 0.7031 MB / 0.5232 GB, free: 4.711 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.008544/0.4999, allocations: 5.525 MB / 0.5286 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005489/0.5054, allocations: 3.336 MB / 0.5319 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5054, allocations: 0 / 0.5319 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003772/0.5092, allocations: 2.355 MB / 0.5342 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.5124, allocations: 0.7141 MB / 0.5349 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/0.7344, allocations: 26.36 MB / 0.5606 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.7371, allocations: 1.969 MB / 0.5625 GB, free: 142 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002065/0.7392, allocations: 0.5857 MB / 0.5631 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.7408, allocations: 1.261 MB / 0.5643 GB, free: 141.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.7408, allocations: 2.438 kB / 0.5643 GB, free: 141.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/0.8613, allocations: 71.05 MB / 0.6337 GB, free: 87.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.34, allocations: 11.94 kB / 0.6337 GB, free: 87.11 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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: 19.663924919907004]