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.001695/0.001695, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00199/0.00199, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.449/1.449, allocations: 230.2 MB / 254.5 MB, free: 15.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1068, allocations: 53.32 MB / 426.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2204/0.3272, allocations: 8.03 MB / 434.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.3309, allocations: 2.634 MB / 437.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.3314, allocations: 24.5 kB / 437.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3326, allocations: 0.5734 MB / 437.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008652/0.3335, allocations: 487.8 kB / 438.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3339, allocations: 247.1 kB / 438.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3352, allocations: 1.423 MB / 440.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.3357, allocations: 409.1 kB / 440.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.3364, allocations: 0.5495 MB / 441 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006127/0.337, allocations: 0.5833 MB / 441.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.3372, allocations: 137.7 kB / 441.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.3375, allocations: 171.2 kB / 441.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.3377, allocations: 272.6 kB / 442.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.3382, allocations: 0.6523 MB / 442.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3401, allocations: 1.706 MB / 444.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3401, allocations: 0 / 444.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3401, allocations: 0 / 444.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.3402, allocations: 5.094 kB / 444.5 MB, free: 2.883 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002413/0.3426, allocations: 1.456 MB / 446 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3426, allocations: 10.12 kB / 446 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.3428, allocations: 151.1 kB / 446.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.3433, allocations: 176 kB / 446.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3445, allocations: 0.7346 MB / 447.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.3445, allocations: 77.31 kB / 447.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3446, allocations: 100.9 kB / 447.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.346, allocations: 0.917 MB / 448.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.3461, allocations: 9.359 kB / 448.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.3461, allocations: 36.75 kB / 448.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.3462, allocations: 29.55 kB / 448.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3473, allocations: 0.6205 MB / 448.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005327/0.3526, allocations: 3.881 MB / 452.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.3532, allocations: 337.4 kB / 453.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3535, allocations: 138.7 kB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3536, allocations: 8.359 kB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3536, allocations: 40.94 kB / 453.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.3536, allocations: 0 / 453.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002408/0.356, allocations: 1.208 MB / 454.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3561, allocations: 81.86 kB / 454.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.3572, allocations: 0.8252 MB / 455.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3572, allocations: 31.08 kB / 455.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.3577, allocations: 0.5805 MB / 456 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3578, allocations: 133.7 kB / 456.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.358, allocations: 126.8 kB / 456.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3582, allocations: 339 kB / 456.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.3585, allocations: 146 kB / 456.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.359, allocations: 461 kB / 457.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.36, allocations: 0.632 MB / 457.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.36, allocations: 3.281 kB / 457.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001159/0.3611, allocations: 0.6939 MB / 458.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3612, allocations: 10.31 kB / 458.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3612, allocations: 10.91 kB / 458.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3613, allocations: 34.38 kB / 458.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.3618, allocations: 159.7 kB / 458.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3631, allocations: 1.395 MB / 460.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3636, allocations: 30.17 kB / 460.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.3636, allocations: 36.31 kB / 460.1 MB, free: 8.328 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.0003785/0.364, allocations: 256.4 kB / 460.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3641, allocations: 91.75 kB / 460.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.3649, allocations: 378 kB / 460.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3649, allocations: 3.188 kB / 460.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.3649, allocations: 1.719 kB / 460.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3649, allocations: 1.453 kB / 460.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.3669, allocations: 1.273 MB / 462.1 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3669, allocations: 5.906 kB / 462.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.3672, allocations: 75.58 kB / 462.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.3673, allocations: 24.8 kB / 462.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3673, allocations: 7.938 kB / 462.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.3684, allocations: 1.374 MB / 463.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3684, allocations: 6.25 kB / 463.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3694, allocations: 0.6351 MB / 464.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.3697, allocations: 194.4 kB / 464.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.3698, allocations: 11.3 kB / 464.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.3701, allocations: 24.3 kB / 464.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.3702, allocations: 27.38 kB / 464.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3702, allocations: 10.78 kB / 464.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007908/0.371, allocations: 0.5641 MB / 465.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.371, allocations: 0 / 465.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007405/0.3718, allocations: 187.8 kB / 465.3 MB, free: 4.516 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.001499/0.3733, allocations: 1.195 MB / 466.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3743, allocations: 0.4919 MB / 467 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3743, allocations: 2.031 kB / 467 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.3747, allocations: 259.9 kB / 467.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3757, allocations: 214.8 kB / 467.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.3864, allocations: 7.119 MB / 474.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.3871, allocations: 0.9953 MB / 475.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.3875, allocations: 116 kB / 475.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/0.388, allocations: 369.1 kB / 476 MB, free: 12.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.388, allocations: 0 / 476 MB, free: 12.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.4423, allocations: 18.03 MB / 494 MB, free: 12.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 18.47 kB / 494.1 MB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 648] (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_2/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_2/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: 15.502669110894203]