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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2708, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009771/0.2806, allocations: 8.101 MB / 416.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.2853, allocations: 2.664 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.2861, allocations: 27.94 kB / 419.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.2877, allocations: 0.548 MB / 420.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.2889, allocations: 464.3 kB / 420.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2894, allocations: 259.6 kB / 420.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.2912, allocations: 1.47 MB / 422.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.292, allocations: 0.5846 MB / 422.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.2929, allocations: 0.5525 MB / 423.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.2936, allocations: 0.5949 MB / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.2938, allocations: 140 kB / 424.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.2942, allocations: 180 kB / 424.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.2944, allocations: 283 kB / 424.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.2951, allocations: 0.6648 MB / 425.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.2972, allocations: 1.728 MB / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2972, allocations: 0 / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2972, allocations: 0 / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.2972, allocations: 0 / 427.1 MB, free: 15.12 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00243/0.2997, allocations: 1.483 MB / 428.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2997, allocations: 12.03 kB / 428.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.2999, allocations: 152.4 kB / 428.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.3006, allocations: 188 kB / 428.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.302, allocations: 0.75 MB / 429.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.302, allocations: 70 kB / 429.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3022, allocations: 103.9 kB / 429.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3038, allocations: 0.9308 MB / 430.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.3038, allocations: 7.938 kB / 430.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.3039, allocations: 40 kB / 430.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.304, allocations: 27.94 kB / 430.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.3052, allocations: 0.6325 MB / 431.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.3105, allocations: 3.9 MB / 435.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.3112, allocations: 443.8 kB / 435.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.3118, allocations: 273.3 kB / 436.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3119, allocations: 4.328 kB / 436.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.3119, allocations: 38.89 kB / 436.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.316e-06/0.3119, allocations: 4 kB / 436.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002774/0.3147, allocations: 1.419 MB / 437.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3148, allocations: 85.11 kB / 437.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3159, allocations: 0.8253 MB / 438.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3159, allocations: 33.7 kB / 438.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.3164, allocations: 0.5696 MB / 439 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3165, allocations: 170.6 kB / 439.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3167, allocations: 134.6 kB / 439.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3169, allocations: 330 kB / 439.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.3172, allocations: 165.9 kB / 439.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.3178, allocations: 460 kB / 440.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.3187, allocations: 0.6661 MB / 440.9 MB, free: 484 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3188, allocations: 4 kB / 440.9 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00131/0.3201, allocations: 0.7713 MB / 441.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3201, allocations: 8 kB / 441.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3201, allocations: 8 kB / 441.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.3204, allocations: 85.88 kB / 441.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.3209, allocations: 155.7 kB / 442 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3236, allocations: 3.134 MB / 445.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.3241, allocations: 40 kB / 445.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.3242, allocations: 32 kB / 445.2 MB, free: 11.94 MB / 366.1 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.0004106/0.3246, allocations: 261.5 kB / 445.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3247, allocations: 87.44 kB / 445.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.3257, allocations: 499.5 kB / 446 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3257, allocations: 8 kB / 446 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3257, allocations: 0 / 446 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3257, allocations: 3.938 kB / 446 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3279, allocations: 1.439 MB / 447.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.3279, allocations: 4 kB / 447.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.3282, allocations: 67.91 kB / 447.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.3284, allocations: 73.83 kB / 447.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3285, allocations: 16 kB / 447.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.331, allocations: 3.127 MB / 450.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.331, allocations: 4.031 kB / 450.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3323, allocations: 0.7743 MB / 451.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.3326, allocations: 208.4 kB / 451.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.3327, allocations: 11.98 kB / 451.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3331, allocations: 27.98 kB / 451.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.3332, allocations: 31.95 kB / 451.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.3332, allocations: 16 kB / 451.8 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007807/0.334, allocations: 0.5615 MB / 452.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.334, allocations: 0 / 452.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007904/0.3348, allocations: 204 kB / 452.6 MB, free: 4.098 MB / 366.1 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.001655/0.3365, allocations: 1.338 MB / 453.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.3377, allocations: 0.7024 MB / 454.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3377, allocations: 0 / 454.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.3384, allocations: 442 kB / 455 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3395, allocations: 227.1 kB / 455.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.3503, allocations: 7.309 MB / 462.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.351, allocations: 1.001 MB / 463.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.3515, allocations: 107.2 kB / 463.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.352, allocations: 375.3 kB / 464 MB, free: 8.047 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.352, allocations: 3.938 kB / 464 MB, free: 8.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6513/1.003, allocations: 19.07 MB / 483.1 MB, free: 5.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.03, allocations: 10.12 kB / 483.1 MB, free: 5.23 MB / 398.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches