Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 55.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1086, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2108/0.3194, allocations: 8.025 MB / 435.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.3231, allocations: 2.637 MB / 437.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.3237, allocations: 28.47 kB / 437.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3249, allocations: 0.5677 MB / 438.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009374/0.3259, allocations: 489.6 kB / 438.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.3263, allocations: 241.5 kB / 439 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3277, allocations: 1.431 MB / 440.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005625/0.3282, allocations: 407.4 kB / 440.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008246/0.3291, allocations: 0.5656 MB / 441.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.3297, allocations: 0.5831 MB / 442 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.3299, allocations: 136.1 kB / 442.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.3302, allocations: 176.8 kB / 442.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3304, allocations: 268.8 kB / 442.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.3309, allocations: 0.6516 MB / 443.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.3327, allocations: 1.706 MB / 444.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3327, allocations: 1 kB / 444.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3327, allocations: 0 / 444.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.3327, allocations: 0 / 444.9 MB, free: 2.68 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.002296/0.335, allocations: 1.461 MB / 446.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.335, allocations: 11.38 kB / 446.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.903e-05/0.3351, allocations: 24.59 kB / 446.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.3352, allocations: 151.8 kB / 446.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.3358, allocations: 172.9 kB / 446.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3369, allocations: 0.7353 MB / 447.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.337, allocations: 72.53 kB / 447.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3371, allocations: 95.06 kB / 447.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3385, allocations: 0.9268 MB / 448.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.3386, allocations: 5.453 kB / 448.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3387, allocations: 40.88 kB / 448.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.3387, allocations: 23.47 kB / 448.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3398, allocations: 0.6267 MB / 449.2 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.3451, allocations: 3.886 MB / 453.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.3457, allocations: 343.8 kB / 453.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.346, allocations: 136.6 kB / 453.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.346, allocations: 2.875 kB / 453.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.346, allocations: 41.66 kB / 453.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.346, allocations: 4 kB / 453.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002446/0.3485, allocations: 1.204 MB / 454.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.3486, allocations: 81.7 kB / 454.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3498, allocations: 0.8243 MB / 455.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3498, allocations: 31.08 kB / 455.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.3502, allocations: 0.5824 MB / 456.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.3503, allocations: 138 kB / 456.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.3505, allocations: 122.1 kB / 456.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3506, allocations: 336.5 kB / 456.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.3509, allocations: 152.8 kB / 457.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.3515, allocations: 457 kB / 457.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008893/0.3524, allocations: 0.6371 MB / 458.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3524, allocations: 2.688 kB / 458.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001181/0.3536, allocations: 0.6891 MB / 458.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3536, allocations: 9.531 kB / 458.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3536, allocations: 12.16 kB / 458.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.3538, allocations: 42.95 kB / 458.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.3542, allocations: 159.5 kB / 459.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3554, allocations: 1.386 MB / 460.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.356, allocations: 34.3 kB / 460.5 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.356, allocations: 33.59 kB / 460.5 MB, free: 8.125 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.0003966/0.3564, allocations: 259.5 kB / 460.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.3566, allocations: 94.08 kB / 460.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.3574, allocations: 373.2 kB / 461.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3574, allocations: 3.281 kB / 461.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3574, allocations: 2.031 kB / 461.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3574, allocations: 1.125 kB / 461.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3595, allocations: 1.272 MB / 462.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3595, allocations: 2.281 kB / 462.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.3598, allocations: 76.58 kB / 462.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.3599, allocations: 23.97 kB / 462.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.3599, allocations: 8.219 kB / 462.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.361, allocations: 1.363 MB / 464 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.361, allocations: 10.02 kB / 464 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.362, allocations: 0.6355 MB / 464.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.3623, allocations: 195.7 kB / 464.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.3624, allocations: 17.81 kB / 464.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.3627, allocations: 21.11 kB / 464.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.3628, allocations: 33.97 kB / 464.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3628, allocations: 8.156 kB / 464.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.3636, allocations: 0.5592 MB / 465.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 465.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007981/0.3644, allocations: 193.7 kB / 465.7 MB, free: 4.312 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.001492/0.3659, allocations: 1.198 MB / 466.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3669, allocations: 0.4896 MB / 467.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3669, allocations: 0 / 467.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3673, allocations: 263.4 kB / 467.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3683, allocations: 210.8 kB / 467.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3796, allocations: 7.131 MB / 474.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.3803, allocations: 1.001 MB / 475.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.3807, allocations: 103.7 kB / 476 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.3812, allocations: 369.3 kB / 476.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3812, allocations: 0 / 476.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.4293, allocations: 18.08 MB / 494.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 18.75 kB / 494.5 MB, free: 12.09 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 16.428162797004916]