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.001263/0.001263, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009341/0.0009341, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9053/0.9053, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.275e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00638/0.006403, allocations: 7.073 MB / 331.6 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.01016, allocations: 2.455 MB / 334.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.01095, allocations: 31.88 kB / 334.1 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.01224, allocations: 0.5245 MB / 334.6 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.01328, allocations: 0.5 MB / 335.1 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.01371, allocations: 243.7 kB / 335.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.01499, allocations: 1.498 MB / 336.8 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.01554, allocations: 367.3 kB / 337.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.01657, allocations: 0.8418 MB / 338 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.01704, allocations: 426.6 kB / 338.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.01717, allocations: 136 kB / 338.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.01743, allocations: 179.9 kB / 338.8 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.01756, allocations: 282.9 kB / 339 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.01791, allocations: 446.9 kB / 339.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.01943, allocations: 1.698 MB / 341.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01944, allocations: 4 kB / 341.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01944, allocations: 0 / 341.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.438e-05/0.01948, allocations: 0 / 341.2 MB, free: 15.12 MB / 314.7 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.002066/0.02155, allocations: 1.372 MB / 342.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.0216, allocations: 11.98 kB / 342.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.02172, allocations: 144.3 kB / 342.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.0221, allocations: 180 kB / 342.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.02314, allocations: 0.6609 MB / 343.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.02318, allocations: 77.94 kB / 343.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.02328, allocations: 103.9 kB / 343.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.02443, allocations: 0.9905 MB / 344.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.02446, allocations: 11.92 kB / 344.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.02452, allocations: 44 kB / 344.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.02454, allocations: 24 kB / 344.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.02539, allocations: 0.6168 MB / 345.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.02905, allocations: 3.489 MB / 348.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.02949, allocations: 277.2 kB / 349.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.02966, allocations: 133.3 kB / 349.3 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.02968, allocations: 4 kB / 349.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.02971, allocations: 42.55 kB / 349.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.02971, allocations: 0 / 349.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001643/0.03136, allocations: 1.051 MB / 350.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.0314, allocations: 85.11 kB / 350.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.0322, allocations: 0.8369 MB / 351.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.03222, allocations: 33.7 kB / 351.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.03252, allocations: 0.5811 MB / 351.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.03259, allocations: 138.9 kB / 352.1 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.03271, allocations: 122.6 kB / 352.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.03281, allocations: 334 kB / 352.5 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.03302, allocations: 141.9 kB / 352.7 MB, free: 3.203 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.03334, allocations: 485.9 kB / 353.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.03391, allocations: 0.6353 MB / 353.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.03392, allocations: 7.938 kB / 353.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007964/0.03471, allocations: 0.7036 MB / 354.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.03473, allocations: 8.812 kB / 354.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.03475, allocations: 8 kB / 354.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.03489, allocations: 40.84 kB / 354.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.03517, allocations: 155.7 kB / 354.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.03598, allocations: 1.287 MB / 356 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.03634, allocations: 36.14 kB / 356 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.03637, allocations: 32.05 kB / 356 MB, free: 15.4 MB / 330.7 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.0003095/0.03668, allocations: 261.5 kB / 356.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.03676, allocations: 87.44 kB / 356.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.03725, allocations: 382.4 kB / 356.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.03726, allocations: 4 kB / 356.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.03726, allocations: 4 kB / 356.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.03727, allocations: 0 / 356.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.03857, allocations: 1.144 MB / 357.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.03857, allocations: 3.938 kB / 357.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.03876, allocations: 76.12 kB / 358 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.408e-05/0.03883, allocations: 20.84 kB / 358 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.03885, allocations: 15.94 kB / 358 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006889/0.03954, allocations: 1.26 MB / 359.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03954, allocations: 0 / 359.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.04031, allocations: 0.6364 MB / 359.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.04051, allocations: 115.4 kB / 360 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.04056, allocations: 11.98 kB / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.04076, allocations: 19.98 kB / 360.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.04083, allocations: 35.83 kB / 360.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.04084, allocations: 16 kB / 360.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005698/0.04141, allocations: 0.5615 MB / 360.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04141, allocations: 0 / 360.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.04195, allocations: 191.9 kB / 360.9 MB, free: 10.32 MB / 330.7 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.0009926/0.04294, allocations: 1.189 MB / 362 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.04366, allocations: 0.4926 MB / 362.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.04367, allocations: 4 kB / 362.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.04392, allocations: 263.1 kB / 362.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.04478, allocations: 221.7 kB / 363 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.05283, allocations: 7.037 MB / 370.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.05312, allocations: 405 kB / 370.4 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.05341, allocations: 102.9 kB / 370.5 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.05373, allocations: 372.5 kB / 370.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.05373, allocations: 0 / 370.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.09271, allocations: 19.63 MB / 390.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.887, allocations: 7.5 kB / 390.5 MB, free: 12.32 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.370400299318135]