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.001321/0.001321, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001415/0.001415, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.416/1.416, allocations: 225.7 MB / 253.3 MB, free: 13.04 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.001653/0.001653, allocations: 51.88 kB / 371.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 52.19 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01168/0.2621, allocations: 9.48 MB / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006059/0.2682, allocations: 2.995 MB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.2695, allocations: 55.62 kB / 436 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.2714, allocations: 0.6718 MB / 436.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.275, allocations: 0.8273 MB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2761, allocations: 347.4 kB / 437.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.28, allocations: 2.658 MB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.2819, allocations: 1.164 MB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.284, allocations: 1.215 MB / 442.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2865, allocations: 1.537 MB / 444.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.2871, allocations: 304 kB / 444.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.2881, allocations: 403.8 kB / 445.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009872/0.2891, allocations: 0.8998 MB / 446 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.2909, allocations: 1.412 MB / 447.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.2959, allocations: 4.095 MB / 451.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2959, allocations: 0 / 451.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2959, allocations: 0 / 451.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.296, allocations: 0 / 451.5 MB, free: 2.438 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.006119/0.3021, allocations: 2.845 MB / 454.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3021, allocations: 12.03 kB / 454.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.091e-05/0.3022, allocations: 60.22 kB / 454.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003852/0.3026, allocations: 291.5 kB / 454.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.3033, allocations: 303.2 kB / 455 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.3061, allocations: 1.468 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.3062, allocations: 160.2 kB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.3065, allocations: 200 kB / 456.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.311, allocations: 2.732 MB / 459.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.311, allocations: 7.953 kB / 459.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.3112, allocations: 80 kB / 459.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3113, allocations: 99.86 kB / 459.7 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.3154, allocations: 2.33 MB / 462 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.3305, allocations: 8.196 MB / 470.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.3328, allocations: 1.254 MB / 471.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.3349, allocations: 1.015 MB / 472.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3351, allocations: 48.95 kB / 472.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3352, allocations: 43.56 kB / 472.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.3352, allocations: 0 / 472.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01359/0.3488, allocations: 5.931 MB / 478.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3488, allocations: 64.41 kB / 478.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.3516, allocations: 1.516 MB / 480.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.3517, allocations: 49.7 kB / 480.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/0.3526, allocations: 1.009 MB / 481.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.353, allocations: 440.3 kB / 481.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004908/0.3535, allocations: 251.5 kB / 481.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3537, allocations: 357.9 kB / 482.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.355, allocations: 0.73 MB / 482.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.3566, allocations: 1.059 MB / 484 MB, free: 1.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.3597, allocations: 1.875 MB / 485.8 MB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.3597, allocations: 4 kB / 485.8 MB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00454/0.3642, allocations: 2.35 MB / 488.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.3643, allocations: 8 kB / 488.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.3643, allocations: 12 kB / 488.2 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3653, allocations: 407.2 kB / 488.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3666, allocations: 335.5 kB / 488.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.3724, allocations: 4.868 MB / 493.8 MB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.374, allocations: 91.86 kB / 493.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.3743, allocations: 52 kB / 493.9 MB, free: 6.879 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.001621/0.3759, allocations: 0.7043 MB / 494.7 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/0.3765, allocations: 170.9 kB / 494.8 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/0.3808, allocations: 2.122 MB / 496.9 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.3808, allocations: 15.94 kB / 497 MB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.3808, allocations: 8 kB / 497 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.3808, allocations: 7.969 kB / 497 MB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/0.3899, allocations: 4.537 MB / 0.4898 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.3899, allocations: 288 / 0.4898 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3909, allocations: 231.6 kB / 0.49 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.3923, allocations: 458.9 kB / 0.4904 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.3924, allocations: 31.98 kB / 0.4904 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00701/0.3994, allocations: 6.388 MB / 0.4967 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3994, allocations: 3.938 kB / 0.4967 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/0.4048, allocations: 3.181 MB / 0.4998 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.4059, allocations: 330.8 kB / 0.5001 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/0.4063, allocations: 28 kB / 0.5001 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.4074, allocations: 75.91 kB / 0.5002 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.4076, allocations: 116.7 kB / 0.5003 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.4077, allocations: 35.98 kB / 0.5004 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.4098, allocations: 1.04 MB / 0.5014 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4098, allocations: 0 / 0.5014 GB, free: 2.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001952/0.4118, allocations: 464 kB / 0.5018 GB, free: 2.43 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.005966/0.4177, allocations: 3.815 MB / 0.5055 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003765/0.4215, allocations: 2.045 MB / 0.5075 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4215, allocations: 4 kB / 0.5075 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.4239, allocations: 1.377 MB / 0.5089 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.4265, allocations: 435.1 kB / 0.5093 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/0.4598, allocations: 17.44 MB / 0.5263 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.4622, allocations: 1.822 MB / 0.5281 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001333/0.4636, allocations: 393.5 kB / 0.5285 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.4649, allocations: 0.7999 MB / 0.5293 GB, free: 5.566 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4649, allocations: 0 / 0.5293 GB, free: 5.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/0.7366, allocations: 44.62 MB / 0.5728 GB, free: 81.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.54/22.28, allocations: 14.33 kB / 0.5729 GB, free: 81.36 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.68347804102814]