Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 215.3 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01449/0.2863, allocations: 11.96 MB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.294, allocations: 3.852 MB / 447 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.296, allocations: 95.38 kB / 447.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.2985, allocations: 0.9211 MB / 448 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.3021, allocations: 1.158 MB / 449.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3034, allocations: 0.507 MB / 449.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005732/0.3091, allocations: 4.272 MB / 454 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.312, allocations: 1.841 MB / 455.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.3151, allocations: 1.978 MB / 457.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.3193, allocations: 2.394 MB / 460.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009563/0.3203, allocations: 0.4961 MB / 460.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.3218, allocations: 0.6014 MB / 461.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.3234, allocations: 1.41 MB / 462.7 MB, free: 7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.3267, allocations: 2.213 MB / 464.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.3351, allocations: 6.591 MB / 471.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3351, allocations: 0 / 471.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3351, allocations: 0 / 471.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3353, allocations: 0 / 471.5 MB, free: 14.16 MB / 382.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.01081/0.3461, allocations: 4.352 MB / 475.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3461, allocations: 8.031 kB / 475.8 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007655/0.3469, allocations: 442.6 kB / 476.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3484, allocations: 494.2 kB / 476.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.3534, allocations: 2.351 MB / 479.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.3536, allocations: 238.1 kB / 479.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.3543, allocations: 304 kB / 479.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008124/0.3624, allocations: 4.373 MB / 484 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.909e-05/0.3625, allocations: 11.94 kB / 484 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.3628, allocations: 124 kB / 484.1 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.3629, allocations: 130 kB / 484.3 MB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006835/0.3697, allocations: 3.779 MB / 488.1 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.3946, allocations: 13.25 MB / 0.4896 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.3981, allocations: 2.081 MB / 0.4916 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.4011, allocations: 1.567 MB / 0.4931 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.4013, allocations: 57.27 kB / 0.4932 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.4014, allocations: 43.88 kB / 0.4932 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.378e-06/0.4014, allocations: 3.938 kB / 0.4932 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01917/0.4205, allocations: 8.513 MB / 0.5015 GB, free: 3.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.4206, allocations: 77.39 kB / 0.5016 GB, free: 3.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.4248, allocations: 2.366 MB / 0.5039 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00035/0.4252, allocations: 57.7 kB / 0.504 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.4265, allocations: 1.509 MB / 0.5054 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006761/0.4272, allocations: 0.6313 MB / 0.5061 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.4278, allocations: 367.5 kB / 0.5064 GB, free: 14.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4279, allocations: 301.1 kB / 0.5067 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.4298, allocations: 1.128 MB / 0.5078 GB, free: 12.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.4319, allocations: 1.567 MB / 0.5093 GB, free: 11.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/0.436, allocations: 2.78 MB / 0.512 GB, free: 8.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.436, allocations: 4 kB / 0.512 GB, free: 8.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006499/0.4425, allocations: 3.594 MB / 0.5156 GB, free: 4.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4426, allocations: 15.94 kB / 0.5156 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.4426, allocations: 12 kB / 0.5156 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.4447, allocations: 0.8051 MB / 0.5164 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.4465, allocations: 451.3 kB / 0.5168 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.4583, allocations: 10.68 MB / 0.5272 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.4604, allocations: 127.9 kB / 0.5273 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.4607, allocations: 76 kB / 0.5274 GB, free: 7.887 MB / 446.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.002107/0.4628, allocations: 1.094 MB / 0.5285 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/0.4634, allocations: 262.3 kB / 0.5287 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/0.4697, allocations: 3.285 MB / 0.5319 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.4697, allocations: 24 kB / 0.532 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.4698, allocations: 4 kB / 0.532 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.4698, allocations: 11.97 kB / 0.532 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2246/0.6944, allocations: 6.816 MB / 0.5386 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6944, allocations: 3.969 kB / 0.5386 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.6957, allocations: 292.4 kB / 0.5389 GB, free: 98.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.6982, allocations: 0.9191 MB / 0.5398 GB, free: 98.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/0.6985, allocations: 40.42 kB / 0.5399 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.7091, allocations: 13.91 MB / 0.5534 GB, free: 87.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7091, allocations: 0 / 0.5534 GB, free: 87.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006659/0.7158, allocations: 4.856 MB / 0.5582 GB, free: 85.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.7174, allocations: 0.51 MB / 0.5587 GB, free: 85.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.7179, allocations: 35.69 kB / 0.5587 GB, free: 85.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7193, allocations: 121.8 kB / 0.5588 GB, free: 85.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.7197, allocations: 160.5 kB / 0.559 GB, free: 85.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7198, allocations: 49.11 kB / 0.559 GB, free: 85.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002223/0.722, allocations: 1.643 MB / 0.5606 GB, free: 84.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.722, allocations: 0 / 0.5606 GB, free: 84.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002373/0.7244, allocations: 0.7101 MB / 0.5613 GB, free: 83.51 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.006595/0.731, allocations: 5.519 MB / 0.5667 GB, free: 78.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004547/0.7355, allocations: 3.332 MB / 0.57 GB, free: 74.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7355, allocations: 3.938 kB / 0.57 GB, free: 74.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.7386, allocations: 2.362 MB / 0.5723 GB, free: 72.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/0.7422, allocations: 0.7236 MB / 0.573 GB, free: 71.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.039/0.7812, allocations: 26.41 MB / 0.5988 GB, free: 44.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.7832, allocations: 2.518 MB / 0.6012 GB, free: 42.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001597/0.7848, allocations: 0.5867 MB / 0.6018 GB, free: 41.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.7862, allocations: 1.265 MB / 0.603 GB, free: 40.22 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7862, allocations: 0 / 0.603 GB, free: 40.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/0.924, allocations: 69.09 MB / 0.6705 GB, free: 3.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.5, allocations: 8 kB / 0.6705 GB, free: 3.617 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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: 23.09171272884123]