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.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002056/0.002056, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002132/0.002132, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2782, allocations: 53.4 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01166/0.2899, allocations: 8.366 MB / 439.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.2962, allocations: 2.882 MB / 442.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.2976, allocations: 59.62 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.2995, allocations: 0.6211 MB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.3023, allocations: 0.8195 MB / 443.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3034, allocations: 363.5 kB / 444.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003739/0.3071, allocations: 2.689 MB / 446.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.3089, allocations: 1.121 MB / 448.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.311, allocations: 1.23 MB / 449.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.3139, allocations: 1.471 MB / 450.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007495/0.3146, allocations: 308 kB / 451.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3157, allocations: 407.8 kB / 451.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.3168, allocations: 0.8998 MB / 452.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.3188, allocations: 1.14 MB / 453.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.3241, allocations: 4.145 MB / 457.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3241, allocations: 0 / 457.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3241, allocations: 0 / 457.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.3242, allocations: 4 kB / 457.6 MB, free: 11.82 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.006584/0.3308, allocations: 2.853 MB / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3309, allocations: 15.98 kB / 460.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004873/0.3314, allocations: 295.5 kB / 460.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.3324, allocations: 335.1 kB / 461.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.3356, allocations: 1.496 MB / 462.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3358, allocations: 156.2 kB / 462.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.3362, allocations: 203.9 kB / 463 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.3416, allocations: 2.832 MB / 465.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.3417, allocations: 11.89 kB / 465.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.3419, allocations: 80 kB / 465.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.342, allocations: 99.91 kB / 466 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.3465, allocations: 2.326 MB / 468.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.3615, allocations: 7.546 MB / 475.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.3636, allocations: 1.244 MB / 477.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.3656, allocations: 1.011 MB / 478.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/0.3659, allocations: 44.97 kB / 478.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.3659, allocations: 43.56 kB / 478.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.957e-06/0.3659, allocations: 3.938 kB / 478.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01361/0.3795, allocations: 5.939 MB / 484.2 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3796, allocations: 68.41 kB / 484.2 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.3821, allocations: 1.544 MB / 485.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.3823, allocations: 49.7 kB / 485.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009178/0.3832, allocations: 1.013 MB / 486.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.3837, allocations: 436.3 kB / 487.3 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.3841, allocations: 251.5 kB / 487.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3843, allocations: 357.9 kB / 487.9 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3856, allocations: 0.73 MB / 488.6 MB, free: 12.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3871, allocations: 1.059 MB / 489.6 MB, free: 11.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.3899, allocations: 1.879 MB / 491.5 MB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.3899, allocations: 4 kB / 491.5 MB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004408/0.3943, allocations: 2.358 MB / 493.9 MB, free: 6.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.3943, allocations: 8 kB / 493.9 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3943, allocations: 8 kB / 493.9 MB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.3953, allocations: 407.4 kB / 494.3 MB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3966, allocations: 327.5 kB / 494.6 MB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/0.4024, allocations: 4.836 MB / 499.4 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4037, allocations: 95.92 kB / 499.5 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4038, allocations: 51.98 kB / 499.6 MB, free: 0.7734 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.00136/0.4052, allocations: 0.7042 MB / 0.4886 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.4056, allocations: 174.9 kB / 0.4887 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.4096, allocations: 2.137 MB / 0.4908 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4096, allocations: 12 kB / 0.4908 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.4096, allocations: 4 kB / 0.4908 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4097, allocations: 11.97 kB / 0.4909 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/0.4184, allocations: 4.28 MB / 0.495 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4184, allocations: 0 / 0.495 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/0.4194, allocations: 231.6 kB / 0.4953 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.4206, allocations: 466.7 kB / 0.4957 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.4208, allocations: 35.98 kB / 0.4957 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00718/0.4279, allocations: 6.338 MB / 0.5019 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4279, allocations: 11.95 kB / 0.5019 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/0.4338, allocations: 3.177 MB / 0.505 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.435, allocations: 334.8 kB / 0.5054 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.4353, allocations: 27.98 kB / 0.5054 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.4361, allocations: 71.92 kB / 0.5055 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.4364, allocations: 116.7 kB / 0.5056 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.4365, allocations: 35.98 kB / 0.5056 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.4382, allocations: 1.056 MB / 0.5066 GB, free: 13.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4382, allocations: 0 / 0.5066 GB, free: 13.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001606/0.4398, allocations: 467.9 kB / 0.5071 GB, free: 12.58 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.0058/0.4456, allocations: 3.81 MB / 0.5108 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.4493, allocations: 2.046 MB / 0.5128 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.4493, allocations: 4.125 kB / 0.5128 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.4517, allocations: 1.365 MB / 0.5141 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.454, allocations: 455.1 kB / 0.5146 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/0.4846, allocations: 17.49 MB / 0.5316 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/0.4863, allocations: 1.261 MB / 0.5329 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.4875, allocations: 397.6 kB / 0.5333 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.4888, allocations: 0.8039 MB / 0.534 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4888, allocations: 0 / 0.534 GB, free: 224 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3407/0.8295, allocations: 46.64 MB / 0.5796 GB, free: 67.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.33, allocations: 4.062 kB / 0.5796 GB, free: 67.79 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable aimc.is[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.686305636074394]