Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001508/0.001508, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001517/0.001517, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.477/1.477, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3666, allocations: 53.42 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.0106/0.3772, allocations: 7.21 MB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.3816, allocations: 2.407 MB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.3822, allocations: 19.94 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3835, allocations: 0.5126 MB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009101/0.3844, allocations: 416.9 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.3848, allocations: 203.8 kB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.386, allocations: 1.202 MB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.3866, allocations: 340.5 kB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.3872, allocations: 482.2 kB / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.3878, allocations: 0.4899 MB / 445.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3879, allocations: 116 kB / 445.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.3882, allocations: 148 kB / 445.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3884, allocations: 235.2 kB / 445.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.3888, allocations: 0.5365 MB / 446.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.3904, allocations: 1.447 MB / 447.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3904, allocations: 4 kB / 447.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3904, allocations: 0 / 447.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3904, allocations: 0 / 447.7 MB, free: 6.863 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001997/0.3924, allocations: 1.198 MB / 448.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3925, allocations: 12.02 kB / 448.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.251e-05/0.3925, allocations: 26.12 kB / 448.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.3926, allocations: 123.1 kB / 449.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.3931, allocations: 160.1 kB / 449.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.3941, allocations: 0.5765 MB / 449.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.3941, allocations: 58.38 kB / 449.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3942, allocations: 87.89 kB / 449.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.3955, allocations: 0.7793 MB / 450.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.3955, allocations: 4 kB / 450.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.3956, allocations: 32 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.3956, allocations: 20 kB / 450.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3966, allocations: 0.5192 MB / 451.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.4008, allocations: 3.27 MB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.4013, allocations: 214.5 kB / 454.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.4016, allocations: 108.8 kB / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4016, allocations: 4 kB / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.4016, allocations: 34.56 kB / 454.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.4016, allocations: 0 / 454.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002031/0.4037, allocations: 0.9142 MB / 455.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4037, allocations: 81.34 kB / 455.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.4047, allocations: 0.7272 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.4047, allocations: 33.7 kB / 456.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/0.4052, allocations: 0.5073 MB / 457.2 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.4053, allocations: 107.1 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.4055, allocations: 118.2 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4057, allocations: 378.7 kB / 457.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.4059, allocations: 129.2 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.4065, allocations: 418.1 kB / 458.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.4073, allocations: 0.5714 MB / 458.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4073, allocations: 4 kB / 458.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001086/0.4084, allocations: 0.6265 MB / 459.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4084, allocations: 8.812 kB / 459.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4084, allocations: 12 kB / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.4086, allocations: 32.84 kB / 459.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.409, allocations: 143.7 kB / 459.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.4102, allocations: 1.283 MB / 461 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.4106, allocations: 39.94 kB / 461 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.4106, allocations: 28 kB / 461 MB, free: 8.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003091/0.4109, allocations: 245.6 kB / 461.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.411, allocations: 71.53 kB / 461.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.4117, allocations: 325.4 kB / 461.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4117, allocations: 0 / 461.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4117, allocations: 0 / 461.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4117, allocations: 4 kB / 461.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.4134, allocations: 1.07 MB / 462.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4134, allocations: 4 kB / 462.8 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.4137, allocations: 59.91 kB / 462.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-05/0.4138, allocations: 24.84 kB / 462.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.4138, allocations: 4 kB / 462.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.4149, allocations: 1.271 MB / 464.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4149, allocations: 4.031 kB / 464.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.4158, allocations: 0.5532 MB / 464.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.416, allocations: 99.53 kB / 464.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.4161, allocations: 8 kB / 464.8 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.4164, allocations: 23.97 kB / 464.8 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.4165, allocations: 31.84 kB / 464.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4165, allocations: 8 kB / 464.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006586/0.4171, allocations: 0.5029 MB / 465.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4171, allocations: 0 / 465.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000627/0.4178, allocations: 167.9 kB / 465.5 MB, free: 4.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001333/0.4191, allocations: 1.129 MB / 466.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.42, allocations: 444 kB / 467.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.42, allocations: 0.625 kB / 467.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.4204, allocations: 234.6 kB / 467.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.4213, allocations: 182.3 kB / 467.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.4305, allocations: 6.293 MB / 473.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.4311, allocations: 0.9411 MB / 474.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.4315, allocations: 90.02 kB / 474.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.4318, allocations: 303.3 kB / 475.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4318, allocations: 0 / 475.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.4775, allocations: 16 MB / 491.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.67, allocations: 7.844 kB / 491.1 MB, free: 10.11 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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: 18.417097822995856]