Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.00164/0.00164, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001797/0.001797, allocations: 192.3 kB / 24.49 MB, free: 3.945 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.432/1.432, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 47.92 kB / 371.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2367, allocations: 52.18 MB / 423.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01071/0.2474, allocations: 7.893 MB / 431.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.2529, allocations: 2.688 MB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.2541, allocations: 55.69 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.2557, allocations: 0.5939 MB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.258, allocations: 0.7807 MB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.2588, allocations: 327.5 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.2616, allocations: 2.362 MB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.2631, allocations: 1.02 MB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.2646, allocations: 1.086 MB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.2668, allocations: 1.382 MB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004798/0.2673, allocations: 280 kB / 441.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007462/0.2681, allocations: 363.8 kB / 442.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008959/0.269, allocations: 0.8141 MB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.2705, allocations: 1.019 MB / 444 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.2747, allocations: 3.706 MB / 447.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2747, allocations: 0 / 447.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2747, allocations: 3.938 kB / 447.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.572e-05/0.2747, allocations: 0 / 447.7 MB, free: 5.863 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005375/0.2801, allocations: 2.571 MB / 450.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.2802, allocations: 12.03 kB / 450.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.678e-05/0.2802, allocations: 43.77 kB / 450.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004322/0.2807, allocations: 270 kB / 450.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.2814, allocations: 267.4 kB / 450.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.2838, allocations: 1.337 MB / 452.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2839, allocations: 135.7 kB / 452.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.2842, allocations: 187.9 kB / 452.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.2886, allocations: 2.506 MB / 455 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/0.2886, allocations: 8 kB / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.2888, allocations: 72 kB / 455.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.2889, allocations: 87.48 kB / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.2925, allocations: 2.016 MB / 457.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.3043, allocations: 6.668 MB / 463.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3061, allocations: 0.9858 MB / 464.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3078, allocations: 0.8573 MB / 465.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.308, allocations: 44.95 kB / 465.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.308, allocations: 43.56 kB / 465.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.346e-06/0.308, allocations: 0 / 465.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01012/0.3182, allocations: 4.691 MB / 470.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.3183, allocations: 64.41 kB / 470.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.3206, allocations: 1.376 MB / 471.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.3207, allocations: 41.7 kB / 472 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/0.3215, allocations: 0.9226 MB / 472.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.3219, allocations: 368.9 kB / 473.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.3223, allocations: 218.9 kB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.3225, allocations: 349.9 kB / 473.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3236, allocations: 0.6311 MB / 474.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.3249, allocations: 0.9259 MB / 475.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/0.3274, allocations: 1.645 MB / 477 MB, free: 7.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3274, allocations: 3.938 kB / 477 MB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004638/0.332, allocations: 2.383 MB / 479.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.3321, allocations: 8 kB / 479.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.3321, allocations: 11.94 kB / 479.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.3341, allocations: 0.7082 MB / 480.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.335, allocations: 235.7 kB / 480.4 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.3468, allocations: 8.441 MB / 488.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.3481, allocations: 92.02 kB / 488.9 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3482, allocations: 44 kB / 488.9 MB, free: 11.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.3494, allocations: 0.6262 MB / 489.6 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.3497, allocations: 151 kB / 489.7 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.3532, allocations: 1.889 MB / 491.6 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.3532, allocations: 12 kB / 491.6 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3532, allocations: 0 / 491.6 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3532, allocations: 3.984 kB / 491.6 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007011/0.3602, allocations: 3.742 MB / 495.4 MB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3602, allocations: 4 kB / 495.4 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.3611, allocations: 179.7 kB / 495.5 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3623, allocations: 463 kB / 496 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.3624, allocations: 31.92 kB / 496 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.3696, allocations: 6.349 MB / 0.4906 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.3696, allocations: 7.938 kB / 0.4906 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/0.3743, allocations: 2.772 MB / 0.4933 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/0.3751, allocations: 290.9 kB / 0.4936 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3753, allocations: 24 kB / 0.4936 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.3761, allocations: 67.92 kB / 0.4937 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.3763, allocations: 84.83 kB / 0.4938 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/0.3764, allocations: 35.92 kB / 0.4938 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.3779, allocations: 0.9543 MB / 0.4947 GB, free: 9.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 0.4947 GB, free: 9.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001509/0.3794, allocations: 431.9 kB / 0.4951 GB, free: 9.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * 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 {(2,12,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.005067/0.3845, allocations: 3.393 MB / 0.4985 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003827/0.3883, allocations: 1.95 MB / 0.5004 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3883, allocations: 0 / 0.5004 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.3905, allocations: 1.237 MB / 0.5016 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.3924, allocations: 379.5 kB / 0.5019 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/0.4204, allocations: 16.34 MB / 0.5179 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.4218, allocations: 1.114 MB / 0.519 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.4229, allocations: 316.1 kB / 0.5193 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.4239, allocations: 0.6984 MB / 0.52 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4239, allocations: 0 / 0.52 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2938/0.7177, allocations: 42.7 MB / 0.5617 GB, free: 93.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.31, allocations: 6.406 kB / 0.5617 GB, free: 93.01 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 26.357704935013317]