Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001699/0.001699, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.002162/0.002162, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 7.812 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_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 55.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009237/0.2918, allocations: 7.062 MB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.2963, allocations: 2.47 MB / 441.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.2972, allocations: 23.94 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.2986, allocations: 479.2 kB / 441.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2997, allocations: 436.8 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.3002, allocations: 215.6 kB / 442.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.3016, allocations: 1.245 MB / 443.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.3021, allocations: 366.5 kB / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.3028, allocations: 0.4903 MB / 444.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.3034, allocations: 0.5211 MB / 445.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3036, allocations: 116 kB / 445.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.3039, allocations: 160 kB / 445.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.3041, allocations: 227.2 kB / 445.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.3045, allocations: 473.8 kB / 446.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3061, allocations: 1.482 MB / 447.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3061, allocations: 0 / 447.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3061, allocations: 0 / 447.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.3061, allocations: 7.938 kB / 447.6 MB, free: 6.672 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002252/0.3084, allocations: 1.256 MB / 448.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3084, allocations: 8.031 kB / 448.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.019e-05/0.3085, allocations: 26.17 kB / 448.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.3086, allocations: 131.5 kB / 449.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/0.3093, allocations: 180.2 kB / 449.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3104, allocations: 0.5803 MB / 449.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.3105, allocations: 65.94 kB / 449.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3106, allocations: 84 kB / 450 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3121, allocations: 0.8725 MB / 450.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.3121, allocations: 3.953 kB / 450.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.3122, allocations: 36 kB / 450.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.3122, allocations: 23.94 kB / 450.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3133, allocations: 0.5465 MB / 451.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.3179, allocations: 3.065 MB / 454.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.3185, allocations: 226.7 kB / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.3187, allocations: 116.7 kB / 454.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3187, allocations: 8 kB / 454.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3188, allocations: 34.56 kB / 454.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/0.3188, allocations: 0 / 454.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002212/0.321, allocations: 0.9464 MB / 455.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3211, allocations: 81.05 kB / 455.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3221, allocations: 0.7702 MB / 456.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.3221, allocations: 29.7 kB / 456.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.3225, allocations: 0.5228 MB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.3226, allocations: 111.1 kB / 457.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.3228, allocations: 118.2 kB / 457.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.323, allocations: 382.8 kB / 457.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3233, allocations: 129.2 kB / 458 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.3238, allocations: 476 kB / 458.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.3247, allocations: 0.6177 MB / 459 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3247, allocations: 4 kB / 459 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001199/0.3259, allocations: 0.6505 MB / 459.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3259, allocations: 11.94 kB / 459.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.326, allocations: 12 kB / 459.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.3262, allocations: 36.84 kB / 459.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.3266, allocations: 147.7 kB / 459.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3278, allocations: 1.287 MB / 461.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.3284, allocations: 43.92 kB / 461.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.3285, allocations: 39.88 kB / 461.3 MB, free: 8.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0004049/0.3289, allocations: 241.7 kB / 461.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.329, allocations: 87.42 kB / 461.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.3297, allocations: 333.9 kB / 461.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3297, allocations: 4 kB / 461.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3297, allocations: 3.938 kB / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3297, allocations: 0 / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.3315, allocations: 1.015 MB / 462.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.3315, allocations: 4 kB / 462.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.3318, allocations: 63.89 kB / 463 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.914e-05/0.3319, allocations: 24.84 kB / 463 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.332, allocations: 8 kB / 463 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.333, allocations: 1.264 MB / 464.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.333, allocations: 7.938 kB / 464.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.334, allocations: 0.5762 MB / 464.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.3342, allocations: 103.5 kB / 465 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.3343, allocations: 8 kB / 465 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.3347, allocations: 19.97 kB / 465 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.3347, allocations: 23.97 kB / 465 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3348, allocations: 15.94 kB / 465 MB, free: 4.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007509/0.3355, allocations: 0.5186 MB / 465.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 0 / 465.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.3362, allocations: 171.9 kB / 465.7 MB, free: 3.469 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 (28): * Single equations (assignments): 27 * 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.001408/0.3376, allocations: 1.145 MB / 466.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3386, allocations: 468.6 kB / 467.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3386, allocations: 0 / 467.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.339, allocations: 234.5 kB / 467.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.34, allocations: 204.3 kB / 467.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.3494, allocations: 6.529 MB / 474.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3498, allocations: 365.2 kB / 474.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.3501, allocations: 98.09 kB / 474.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.3505, allocations: 319.3 kB / 475.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3505, allocations: 0 / 475.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.3988, allocations: 17.31 MB / 492.4 MB, free: 8.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.47, allocations: 11.48 kB / 492.4 MB, free: 8.59 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 19.50039375911001]