Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001392/0.001392, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001406/0.001406, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.437/1.437, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1069, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009696/0.1166, allocations: 8.035 MB / 435.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004616/0.1212, allocations: 2.634 MB / 437.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009221/0.1222, allocations: 35.81 kB / 437.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.1237, allocations: 0.5715 MB / 438.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.125, allocations: 492.4 kB / 438.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1254, allocations: 243.7 kB / 439.1 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.127, allocations: 1.43 MB / 440.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.1277, allocations: 410.8 kB / 440.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.1285, allocations: 0.5603 MB / 441.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.1292, allocations: 0.5794 MB / 442 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.1293, allocations: 136 kB / 442.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.1296, allocations: 176 kB / 442.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1299, allocations: 274.9 kB / 442.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.1305, allocations: 0.6532 MB / 443.3 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.1323, allocations: 1.696 MB / 445 MB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1323, allocations: 0 / 445 MB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1323, allocations: 3.938 kB / 445 MB, free: 2.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.1324, allocations: 0 / 445 MB, free: 2.625 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002412/0.1348, allocations: 1.463 MB / 446.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1348, allocations: 12.03 kB / 446.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.833e-05/0.1348, allocations: 22.19 kB / 446.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.135, allocations: 148.3 kB / 446.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.1356, allocations: 176.1 kB / 446.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1946/0.3302, allocations: 0.7359 MB / 447.5 MB, free: 23.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.3303, allocations: 71.94 kB / 447.6 MB, free: 23.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.3305, allocations: 94.06 kB / 447.7 MB, free: 23.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.3322, allocations: 0.9193 MB / 448.6 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.3322, allocations: 5.328 kB / 448.6 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.3323, allocations: 38.66 kB / 448.6 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.3323, allocations: 25.5 kB / 448.7 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3334, allocations: 0.6266 MB / 449.3 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004383/0.3378, allocations: 3.882 MB / 453.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.3383, allocations: 341 kB / 453.5 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.3385, allocations: 137.4 kB / 453.6 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3386, allocations: 3.688 kB / 453.6 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3386, allocations: 37.41 kB / 453.7 MB, free: 20.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3386, allocations: 4.906 kB / 453.7 MB, free: 20.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002216/0.3408, allocations: 1.204 MB / 454.9 MB, free: 20.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3409, allocations: 82.7 kB / 455 MB, free: 20.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3419, allocations: 0.8253 MB / 455.8 MB, free: 19.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3419, allocations: 35.17 kB / 455.8 MB, free: 19.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.3422, allocations: 0.5766 MB / 456.4 MB, free: 19.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.3423, allocations: 142.8 kB / 456.5 MB, free: 19.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3424, allocations: 127.5 kB / 456.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.889e-05/0.3425, allocations: 328.7 kB / 457 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3428, allocations: 150.5 kB / 457.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.3432, allocations: 460.6 kB / 457.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.3439, allocations: 0.6338 MB / 458.2 MB, free: 17.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3439, allocations: 3.406 kB / 458.2 MB, free: 17.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001144/0.345, allocations: 0.7007 MB / 458.9 MB, free: 17.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.3451, allocations: 10.66 kB / 458.9 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.3451, allocations: 10.19 kB / 458.9 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.3453, allocations: 30.14 kB / 459 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.3458, allocations: 162.2 kB / 459.1 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007924/0.3466, allocations: 1.385 MB / 460.5 MB, free: 16.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.3471, allocations: 42.72 kB / 460.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3472, allocations: 32.92 kB / 460.6 MB, free: 15.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0003323/0.3475, allocations: 255.6 kB / 460.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3476, allocations: 91.73 kB / 460.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.3483, allocations: 381.1 kB / 461.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3483, allocations: 4.594 kB / 461.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3483, allocations: 0.6562 kB / 461.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3484, allocations: 2.625 kB / 461.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3502, allocations: 1.27 MB / 462.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3502, allocations: 2.844 kB / 462.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.3505, allocations: 76.94 kB / 462.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-05/0.3506, allocations: 22.88 kB / 462.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3506, allocations: 10.28 kB / 462.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005983/0.3512, allocations: 1.38 MB / 464.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3512, allocations: 1.188 kB / 464.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.3521, allocations: 0.6288 MB / 464.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.3523, allocations: 188.1 kB / 464.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.3524, allocations: 12.64 kB / 464.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.3528, allocations: 34.91 kB / 464.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.3529, allocations: 28.95 kB / 465 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3529, allocations: 13.86 kB / 465 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007515/0.3536, allocations: 0.5596 MB / 465.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3536, allocations: 0 / 465.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007588/0.3544, allocations: 184.3 kB / 465.7 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001123/0.3555, allocations: 1.203 MB / 466.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009189/0.3564, allocations: 0.4898 MB / 467.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3564, allocations: 1.188 kB / 467.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.3568, allocations: 260.4 kB / 467.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.3577, allocations: 213.1 kB / 467.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008539/0.3663, allocations: 7.123 MB / 475 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.3667, allocations: 1.001 MB / 476 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004032/0.3671, allocations: 102.4 kB / 476.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.3675, allocations: 364.1 kB / 476.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3675, allocations: 0 / 476.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.4134, allocations: 18.1 MB / 494.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.39, allocations: 11.98 kB / 494.6 MB, free: 10.87 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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: 17.2122849530424]