Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.0008265/0.0008265, allocations: 80.34 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.001094/0.001094, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8951/0.8951, allocations: 177 MB / 204.1 MB, free: 5.773 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.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.634e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006328/0.006344, allocations: 7.175 MB / 331.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.0106, allocations: 2.478 MB / 334.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.01144, allocations: 31.88 kB / 334.2 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01277, allocations: 0.5245 MB / 334.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008534/0.01363, allocations: 0.5116 MB / 335.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.014, allocations: 259.7 kB / 335.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.0153, allocations: 1.544 MB / 337 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.01574, allocations: 371.2 kB / 337.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.01643, allocations: 0.8574 MB / 338.3 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.01679, allocations: 442.6 kB / 338.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.0169, allocations: 140 kB / 338.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.01709, allocations: 179.9 kB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01723, allocations: 282.9 kB / 339.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.0175, allocations: 462.9 kB / 339.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.01865, allocations: 1.729 MB / 341.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01866, allocations: 0 / 341.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01866, allocations: 0 / 341.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.01867, allocations: 0 / 341.5 MB, free: 14.86 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00169/0.02036, allocations: 1.396 MB / 342.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.02041, allocations: 11.98 kB / 342.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.02054, allocations: 152.4 kB / 343 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.02091, allocations: 196 kB / 343.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.02169, allocations: 0.6765 MB / 343.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.02173, allocations: 74 kB / 344 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.02181, allocations: 99.95 kB / 344.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.0228, allocations: 1.035 MB / 345.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.02283, allocations: 8 kB / 345.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.02288, allocations: 36 kB / 345.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.02289, allocations: 24 kB / 345.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.02364, allocations: 0.6325 MB / 345.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.02648, allocations: 3.502 MB / 349.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.0269, allocations: 331.6 kB / 349.6 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.02737, allocations: 261.3 kB / 349.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.0274, allocations: 4.328 kB / 349.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.02742, allocations: 38.89 kB / 349.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.02742, allocations: 0 / 349.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001578/0.029, allocations: 1.26 MB / 351.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.02904, allocations: 85.05 kB / 351.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.02972, allocations: 0.8447 MB / 352.1 MB, free: 3.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.02974, allocations: 33.7 kB / 352.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.03, allocations: 0.5657 MB / 352.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.03007, allocations: 166.6 kB / 352.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.03018, allocations: 134.6 kB / 353 MB, free: 2.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.03027, allocations: 330 kB / 353.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.03046, allocations: 169.9 kB / 353.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.03079, allocations: 485.7 kB / 354 MB, free: 1.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.03134, allocations: 0.6622 MB / 354.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.03134, allocations: 4 kB / 354.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007672/0.03211, allocations: 0.7751 MB / 355.4 MB, free: 196 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.03213, allocations: 15.38 kB / 355.4 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.03214, allocations: 8 kB / 355.4 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.03232, allocations: 81.69 kB / 355.5 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.03258, allocations: 151.7 kB / 355.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.03421, allocations: 2.916 MB / 358.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.03445, allocations: 40.16 kB / 358.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.03447, allocations: 32 kB / 358.6 MB, free: 12.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.03471, allocations: 261.5 kB / 358.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.03479, allocations: 95.38 kB / 359 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.03534, allocations: 499.4 kB / 359.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.03534, allocations: 4 kB / 359.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03535, allocations: 0 / 359.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.03535, allocations: 3.984 kB / 359.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.03661, allocations: 1.302 MB / 360.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.03661, allocations: 8.125 kB / 360.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.03677, allocations: 63.91 kB / 360.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.03689, allocations: 81.83 kB / 360.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.0369, allocations: 8 kB / 360.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.03845, allocations: 2.908 MB / 363.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.03845, allocations: 0 / 363.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.0392, allocations: 0.7714 MB / 364.6 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.03936, allocations: 119.5 kB / 364.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.03941, allocations: 19.98 kB / 364.8 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.0396, allocations: 27.92 kB / 364.8 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.03967, allocations: 31.94 kB / 364.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.03969, allocations: 16 kB / 364.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000486/0.04017, allocations: 0.5654 MB / 365.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04017, allocations: 0 / 365.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.04061, allocations: 207.9 kB / 365.6 MB, free: 5.379 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0009557/0.04157, allocations: 1.338 MB / 366.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.04226, allocations: 0.6632 MB / 367.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.04226, allocations: 0 / 367.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.04263, allocations: 441.2 kB / 368 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.04327, allocations: 228.3 kB / 368.3 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.05058, allocations: 7.258 MB / 375.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.05085, allocations: 414 kB / 375.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.0511, allocations: 111.2 kB / 376 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.05141, allocations: 372.4 kB / 376.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05141, allocations: 0 / 376.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.09145, allocations: 20.96 MB / 397.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.782, allocations: 7.938 kB / 397.4 MB, free: 5.316 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.338016924448311]