Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001229/0.001229, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 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.001381/0.001381, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_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_1_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.00149/0.00149, allocations: 55.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2487, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01057/0.2593, allocations: 9.027 MB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.2649, allocations: 2.979 MB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.2661, allocations: 55.69 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.2677, allocations: 0.6368 MB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.2697, allocations: 0.7807 MB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.2705, allocations: 347.4 kB / 445.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.2731, allocations: 2.37 MB / 448.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.2744, allocations: 1.02 MB / 449.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.276, allocations: 1.098 MB / 450.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.2779, allocations: 1.386 MB / 451.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.2782, allocations: 279.9 kB / 451.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.2789, allocations: 383.8 kB / 452.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007691/0.2797, allocations: 0.8141 MB / 453.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.281, allocations: 1.268 MB / 454.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.2848, allocations: 3.715 MB / 458.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2848, allocations: 0 / 458.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2848, allocations: 0 / 458.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.2848, allocations: 0 / 458.1 MB, free: 12.58 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00488/0.2897, allocations: 2.579 MB / 460.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2898, allocations: 8.031 kB / 460.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.951e-05/0.2898, allocations: 47.77 kB / 460.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003124/0.2901, allocations: 270 kB / 461 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.291, allocations: 303.3 kB / 461.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.2933, allocations: 1.345 MB / 462.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2934, allocations: 143.5 kB / 462.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.2937, allocations: 187.9 kB / 462.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.2974, allocations: 2.398 MB / 465.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.2974, allocations: 7.938 kB / 465.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.2976, allocations: 83.98 kB / 465.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.2977, allocations: 91.42 kB / 465.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/0.3009, allocations: 2.012 MB / 467.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.312, allocations: 7.257 MB / 474.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3137, allocations: 0.9923 MB / 475.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.3153, allocations: 0.8534 MB / 476.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.3155, allocations: 44.89 kB / 476.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3155, allocations: 47.56 kB / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/0.3155, allocations: 0 / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009182/0.3247, allocations: 4.697 MB / 481.4 MB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3248, allocations: 64.41 kB / 481.5 MB, free: 4.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.3268, allocations: 1.393 MB / 482.9 MB, free: 3.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.3269, allocations: 41.7 kB / 482.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/0.3276, allocations: 0.9189 MB / 483.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.3279, allocations: 372.9 kB / 484.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.3283, allocations: 214.9 kB / 484.4 MB, free: 1.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3284, allocations: 353.9 kB / 484.8 MB, free: 1.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.3294, allocations: 0.6311 MB / 485.4 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.3306, allocations: 0.9259 MB / 486.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3328, allocations: 1.656 MB / 488 MB, free: 13.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3329, allocations: 4 kB / 488 MB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004182/0.337, allocations: 2.372 MB / 490.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3371, allocations: 8 kB / 490.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.3371, allocations: 12 kB / 490.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.3388, allocations: 0.7089 MB / 491.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.3397, allocations: 239.6 kB / 491.3 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.3507, allocations: 8.542 MB / 499.8 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.3519, allocations: 79.88 kB / 499.9 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.352, allocations: 51.98 kB / 500 MB, free: 1.734 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.001153/0.3532, allocations: 0.634 MB / 0.4889 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.3535, allocations: 151.1 kB / 0.489 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.3567, allocations: 1.893 MB / 0.4909 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3567, allocations: 11.98 kB / 0.4909 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3567, allocations: 4 kB / 0.4909 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3568, allocations: 3.984 kB / 0.4909 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.3632, allocations: 3.961 MB / 0.4948 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3632, allocations: 4 kB / 0.4948 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.364, allocations: 183.7 kB / 0.4949 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.3652, allocations: 463.2 kB / 0.4954 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.3652, allocations: 31.92 kB / 0.4954 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/0.3718, allocations: 6.386 MB / 0.5016 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3718, allocations: 0 / 0.5016 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/0.3761, allocations: 2.776 MB / 0.5044 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.3769, allocations: 290.8 kB / 0.5046 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.3771, allocations: 27.98 kB / 0.5047 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.3778, allocations: 63.92 kB / 0.5047 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.378, allocations: 88.78 kB / 0.5048 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.3781, allocations: 31.98 kB / 0.5048 GB, free: 224 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.3795, allocations: 0.9663 MB / 0.5058 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3795, allocations: 4 kB / 0.5058 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3808, allocations: 428 kB / 0.5062 GB, free: 14.83 MB / 430.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.004662/0.3855, allocations: 3.412 MB / 0.5095 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.3888, allocations: 1.934 MB / 0.5114 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3888, allocations: 3.938 kB / 0.5114 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.3908, allocations: 1.23 MB / 0.5126 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.3924, allocations: 376.1 kB / 0.513 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.4175, allocations: 16.42 MB / 0.529 GB, free: 6.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.4189, allocations: 1.693 MB / 0.5307 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009008/0.4198, allocations: 316 kB / 0.531 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009103/0.4207, allocations: 0.7023 MB / 0.5316 GB, free: 4.133 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4207, allocations: 0 / 0.5316 GB, free: 4.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2827/0.7034, allocations: 41.36 MB / 0.572 GB, free: 76.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.12, allocations: 2.75 kB / 0.572 GB, free: 76.95 MB / 446.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 24.947298534039874]