Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00126/0.00126, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001341/0.001341, allocations: 184.4 kB / 24.48 MB, free: 3.965 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.358/1.358, allocations: 225.7 MB / 253.3 MB, free: 12.87 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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.92 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 52.19 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01102/0.2647, allocations: 8.329 MB / 431.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.2703, allocations: 2.796 MB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2715, allocations: 59.62 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2732, allocations: 0.6211 MB / 435.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.2757, allocations: 0.8196 MB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.2765, allocations: 343.6 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.2799, allocations: 2.661 MB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.2817, allocations: 1.16 MB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2837, allocations: 1.226 MB / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.2861, allocations: 1.53 MB / 442.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005545/0.2867, allocations: 308 kB / 443.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.2876, allocations: 395.8 kB / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009312/0.2886, allocations: 0.8921 MB / 444.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.2902, allocations: 1.136 MB / 445.6 MB, free: 8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.2948, allocations: 4.13 MB / 449.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2949, allocations: 0 / 449.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2949, allocations: 0 / 449.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.597e-05/0.2949, allocations: 4 kB / 449.8 MB, free: 3.852 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006269/0.3012, allocations: 2.841 MB / 452.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3013, allocations: 12.03 kB / 452.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.065e-05/0.3013, allocations: 52.22 kB / 452.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004/0.3017, allocations: 295.5 kB / 452.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.3025, allocations: 299.2 kB / 453.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.3054, allocations: 1.476 MB / 454.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3055, allocations: 152.2 kB / 454.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.3059, allocations: 203.9 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/0.311, allocations: 2.836 MB / 457.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/0.311, allocations: 7.938 kB / 457.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.3112, allocations: 87.98 kB / 458 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.3114, allocations: 91.94 kB / 458.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.3156, allocations: 2.33 MB / 460.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.3293, allocations: 7.561 MB / 468 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.3313, allocations: 1.251 MB / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.3332, allocations: 1.014 MB / 470.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.3334, allocations: 40.97 kB / 470.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.3334, allocations: 47.55 kB / 470.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.048e-06/0.3334, allocations: 0 / 470.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01342/0.3468, allocations: 5.924 MB / 476.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3469, allocations: 64.41 kB / 476.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.3493, allocations: 1.52 MB / 477.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3494, allocations: 49.7 kB / 477.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.3502, allocations: 1.009 MB / 478.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.3506, allocations: 432.4 kB / 479.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.3511, allocations: 255.5 kB / 479.6 MB, free: 5.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3512, allocations: 365.9 kB / 479.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3525, allocations: 0.73 MB / 480.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.3541, allocations: 1.055 MB / 481.7 MB, free: 3.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.357, allocations: 1.871 MB / 483.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.357, allocations: 4 kB / 483.6 MB, free: 1.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004203/0.3612, allocations: 2.35 MB / 485.9 MB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.3612, allocations: 12.38 kB / 485.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.3612, allocations: 12 kB / 485.9 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.3622, allocations: 415.1 kB / 486.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3635, allocations: 323.5 kB / 486.7 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.3689, allocations: 4.828 MB / 491.5 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3702, allocations: 83.91 kB / 491.6 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.3703, allocations: 55.98 kB / 491.6 MB, free: 8.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.3716, allocations: 0.7175 MB / 492.4 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.3719, allocations: 166.9 kB / 492.5 MB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.3756, allocations: 2.129 MB / 494.6 MB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3756, allocations: 12 kB / 494.7 MB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3756, allocations: 4 kB / 494.7 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3756, allocations: 7.922 kB / 494.7 MB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/0.383, allocations: 4.296 MB / 499 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.383, allocations: 0 / 499 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/0.384, allocations: 227.6 kB / 499.2 MB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.3852, allocations: 467.1 kB / 499.6 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.3853, allocations: 27.98 kB / 499.7 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/0.392, allocations: 6.343 MB / 0.4942 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.392, allocations: 11.88 kB / 0.4942 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.3969, allocations: 3.173 MB / 0.4973 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.3977, allocations: 338.8 kB / 0.4976 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.3979, allocations: 27.98 kB / 0.4976 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008098/0.3988, allocations: 75.92 kB / 0.4977 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.399, allocations: 108.7 kB / 0.4978 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.3991, allocations: 35.98 kB / 0.4978 GB, free: 6.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001499/0.4006, allocations: 1.048 MB / 0.4988 GB, free: 5.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4006, allocations: 0 / 0.4988 GB, free: 5.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001394/0.402, allocations: 464 kB / 0.4993 GB, free: 4.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.005454/0.4074, allocations: 3.822 MB / 0.503 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.4109, allocations: 2.041 MB / 0.505 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4109, allocations: 3.984 kB / 0.505 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.4131, allocations: 1.358 MB / 0.5063 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.415, allocations: 448.8 kB / 0.5068 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/0.4416, allocations: 17.43 MB / 0.5238 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.4431, allocations: 1.245 MB / 0.525 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.4442, allocations: 393.5 kB / 0.5254 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.4453, allocations: 0.8 MB / 0.5262 GB, free: 8.402 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4453, allocations: 0 / 0.5262 GB, free: 8.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2642/0.7095, allocations: 46.34 MB / 0.5714 GB, free: 83.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.38/22.09, allocations: 15.34 kB / 0.5714 GB, free: 83.16 MB / 446.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 28.3641533019254]