Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001372/0.001372, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001634/0.001634, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 55.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2644, allocations: 53.42 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01447/0.2789, allocations: 9.516 MB / 440.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.2856, allocations: 3.072 MB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.287, allocations: 59.62 kB / 443.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2891, allocations: 0.6678 MB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.292, allocations: 0.8273 MB / 445.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2931, allocations: 371.4 kB / 445.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.2973, allocations: 2.685 MB / 448.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.2997, allocations: 1.16 MB / 449.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.3018, allocations: 1.238 MB / 450.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.3047, allocations: 1.537 MB / 452.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000825/0.3055, allocations: 308 kB / 452.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.3068, allocations: 411.8 kB / 453 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.3083, allocations: 0.896 MB / 453.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.3109, allocations: 1.419 MB / 455.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006196/0.3171, allocations: 4.115 MB / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3171, allocations: 0 / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3171, allocations: 0 / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001425/0.3173, allocations: 0 / 459.5 MB, free: 10.26 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007536/0.3248, allocations: 2.861 MB / 462.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3249, allocations: 12.03 kB / 462.3 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007969/0.3256, allocations: 295.5 kB / 462.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.3271, allocations: 335.1 kB / 462.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.3312, allocations: 1.488 MB / 464.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3314, allocations: 152.2 kB / 464.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005287/0.3319, allocations: 211.9 kB / 464.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006161/0.3381, allocations: 2.732 MB / 467.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-05/0.3382, allocations: 7.953 kB / 467.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.3385, allocations: 83.94 kB / 467.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.3386, allocations: 91.94 kB / 467.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.3434, allocations: 2.326 MB / 470 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.3584, allocations: 8.2 MB / 478.2 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.3605, allocations: 1.251 MB / 479.5 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.3624, allocations: 1.019 MB / 480.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3626, allocations: 40.97 kB / 480.5 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3627, allocations: 43.56 kB / 480.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.665e-06/0.3627, allocations: 0 / 480.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01346/0.3761, allocations: 5.939 MB / 486.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3762, allocations: 64.41 kB / 486.6 MB, free: 14.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.3786, allocations: 1.533 MB / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.3787, allocations: 45.7 kB / 488.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/0.3796, allocations: 1.021 MB / 489.2 MB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/0.38, allocations: 436.3 kB / 489.6 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.3804, allocations: 251.5 kB / 489.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3806, allocations: 353.9 kB / 490.2 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3818, allocations: 0.7378 MB / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3833, allocations: 1.052 MB / 492 MB, free: 9.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.3861, allocations: 1.879 MB / 493.9 MB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3861, allocations: 8 kB / 493.9 MB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004331/0.3904, allocations: 2.35 MB / 496.2 MB, free: 4.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3904, allocations: 8 kB / 496.2 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.3905, allocations: 12 kB / 496.2 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009835/0.3915, allocations: 411.4 kB / 496.6 MB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3927, allocations: 327.5 kB / 497 MB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.3985, allocations: 4.868 MB / 0.4901 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3996, allocations: 91.92 kB / 0.4902 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3998, allocations: 55.98 kB / 0.4902 GB, free: 14.66 MB / 414.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.001319/0.4011, allocations: 0.7082 MB / 0.4909 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.4015, allocations: 170.9 kB / 0.4911 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.4054, allocations: 2.137 MB / 0.4932 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4054, allocations: 12 kB / 0.4932 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4054, allocations: 4 kB / 0.4932 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.4055, allocations: 7.969 kB / 0.4932 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008794/0.4142, allocations: 4.537 MB / 0.4976 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4143, allocations: 3.938 kB / 0.4976 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.4152, allocations: 219.9 kB / 0.4978 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.4165, allocations: 470.9 kB / 0.4983 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.4166, allocations: 31.98 kB / 0.4983 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007286/0.4239, allocations: 6.382 MB / 0.5045 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4239, allocations: 3.938 kB / 0.5045 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.4294, allocations: 3.181 MB / 0.5076 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.4305, allocations: 334.8 kB / 0.508 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.431, allocations: 24 kB / 0.508 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.432, allocations: 79.91 kB / 0.5081 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.4323, allocations: 116.7 kB / 0.5082 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-05/0.4324, allocations: 32 kB / 0.5082 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001982/0.4344, allocations: 1.06 MB / 0.5092 GB, free: 10.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4344, allocations: 3.938 kB / 0.5092 GB, free: 10.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001763/0.4362, allocations: 456 kB / 0.5097 GB, free: 10.19 MB / 430.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.005979/0.4421, allocations: 3.818 MB / 0.5134 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.4459, allocations: 2.048 MB / 0.5154 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4459, allocations: 0 / 0.5154 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.4484, allocations: 1.363 MB / 0.5167 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.4508, allocations: 448.1 kB / 0.5172 GB, free: 2.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.4824, allocations: 17.5 MB / 0.5343 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1983/0.6808, allocations: 1.83 MB / 0.536 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001474/0.6823, allocations: 394.9 kB / 0.5364 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.6834, allocations: 0.805 MB / 0.5372 GB, free: 102.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6834, allocations: 3.031 kB / 0.5372 GB, free: 102.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0902/0.7736, allocations: 44.84 MB / 0.581 GB, free: 66.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.19/22.96, allocations: 7.984 kB / 0.581 GB, free: 66.72 MB / 446.1 MB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 27.541898083873093]