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.001748/0.001748, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001975/0.001975, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.466/1.466, allocations: 230.2 MB / 254.5 MB, free: 15.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.89 kB / 373.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 53.33 MB / 426.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2072/0.311, allocations: 8.017 MB / 434.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.3147, allocations: 2.661 MB / 437.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.3152, allocations: 19.16 kB / 437.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3164, allocations: 0.5244 MB / 437.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.3174, allocations: 428.7 kB / 438.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3179, allocations: 224.1 kB / 438.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3192, allocations: 1.233 MB / 439.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.3197, allocations: 364.8 kB / 440.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.3204, allocations: 494 kB / 440.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.321, allocations: 0.514 MB / 441.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.3212, allocations: 115.2 kB / 441.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.3215, allocations: 154.5 kB / 441.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3217, allocations: 244.6 kB / 441.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.3221, allocations: 0.5647 MB / 442.2 MB, free: 4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.3239, allocations: 1.475 MB / 443.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3239, allocations: 0 / 443.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3239, allocations: 0 / 443.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.3239, allocations: 2.281 kB / 443.7 MB, free: 3.43 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.002161/0.3261, allocations: 1.328 MB / 445 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3261, allocations: 9.312 kB / 445 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.3263, allocations: 131.6 kB / 445.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.327, allocations: 179 kB / 445.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3281, allocations: 0.6575 MB / 446 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.3281, allocations: 68.19 kB / 446 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3282, allocations: 84.02 kB / 446.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3295, allocations: 0.8213 MB / 446.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3295, allocations: 6.969 kB / 446.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.3296, allocations: 31.16 kB / 447 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.3296, allocations: 21 kB / 447 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/0.3306, allocations: 0.543 MB / 447.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004313/0.3349, allocations: 3.559 MB / 451.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.3354, allocations: 241 kB / 451.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.3357, allocations: 106.1 kB / 451.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3357, allocations: 2.719 kB / 451.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.3358, allocations: 36.83 kB / 451.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/0.3358, allocations: 6.625 kB / 451.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002286/0.338, allocations: 1.095 MB / 452.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.3381, allocations: 84.09 kB / 452.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3392, allocations: 0.757 MB / 453.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3392, allocations: 30.98 kB / 453.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.3397, allocations: 0.5284 MB / 454 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.3398, allocations: 116.1 kB / 454.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.34, allocations: 118.6 kB / 454.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.3402, allocations: 381.9 kB / 454.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.3405, allocations: 134.2 kB / 454.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.341, allocations: 454.4 kB / 455.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.3419, allocations: 0.6121 MB / 455.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3419, allocations: 4.25 kB / 455.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001174/0.3431, allocations: 0.6523 MB / 456.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3431, allocations: 12.78 kB / 456.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3431, allocations: 12.38 kB / 456.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.3433, allocations: 29.34 kB / 456.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.3438, allocations: 153.6 kB / 456.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.345, allocations: 1.386 MB / 458 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.3457, allocations: 45.72 kB / 458 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3457, allocations: 33.16 kB / 458.1 MB, free: 9.477 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.0003877/0.3461, allocations: 246.2 kB / 458.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3462, allocations: 83.83 kB / 458.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.3469, allocations: 336.7 kB / 458.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3469, allocations: 2.75 kB / 458.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3469, allocations: 4.812 kB / 458.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3469, allocations: 4.094 kB / 458.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3489, allocations: 1.106 MB / 459.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3489, allocations: 2.625 kB / 459.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.3492, allocations: 61.86 kB / 459.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.833e-05/0.3493, allocations: 25.97 kB / 459.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.3493, allocations: 11.75 kB / 459.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.3504, allocations: 1.371 MB / 461.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3504, allocations: 2.625 kB / 461.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3514, allocations: 0.5795 MB / 461.9 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.3517, allocations: 184.4 kB / 462.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.3519, allocations: 13.75 kB / 462.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3522, allocations: 20.58 kB / 462.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3523, allocations: 26.14 kB / 462.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3523, allocations: 9.062 kB / 462.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008101/0.3531, allocations: 0.5222 MB / 462.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3531, allocations: 0 / 462.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007922/0.3539, allocations: 175.8 kB / 462.8 MB, free: 6.148 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.001513/0.3554, allocations: 1.14 MB / 464 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3564, allocations: 463.9 kB / 464.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.3564, allocations: 4 kB / 464.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.3568, allocations: 236.5 kB / 464.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/0.3578, allocations: 196.2 kB / 464.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.3692, allocations: 6.53 MB / 471.4 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.37, allocations: 0.947 MB / 472.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.3704, allocations: 94.42 kB / 472.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.3709, allocations: 320.3 kB / 472.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3709, allocations: 3.938 kB / 472.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.4259, allocations: 16.18 MB / 488.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 15.75 kB / 488.9 MB, free: 1.586 MB / 382.1 MB " [Timeout remaining time 648] (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_2/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_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.002478934358805]