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.001671/0.001671, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3119, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01064/0.3226, allocations: 8.095 MB / 416.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.3281, allocations: 2.673 MB / 419.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3295, allocations: 23.94 kB / 419.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.3317, allocations: 0.5558 MB / 420.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.3342, allocations: 464.3 kB / 420.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3352, allocations: 247.7 kB / 420.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.3379, allocations: 1.475 MB / 422.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.3391, allocations: 0.5846 MB / 422.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.3405, allocations: 0.5603 MB / 423.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.3416, allocations: 0.5911 MB / 424 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.3419, allocations: 140 kB / 424.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.3425, allocations: 184 kB / 424.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3428, allocations: 271 kB / 424.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.3437, allocations: 0.6687 MB / 425.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.346, allocations: 1.725 MB / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.346, allocations: 0 / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.346, allocations: 0 / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-05/0.3461, allocations: 3.938 kB / 427 MB, free: 15.19 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.003335/0.3494, allocations: 1.453 MB / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3495, allocations: 12.03 kB / 428.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.3497, allocations: 152.4 kB / 428.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/0.3505, allocations: 183.4 kB / 428.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3519, allocations: 0.7415 MB / 429.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.352, allocations: 70 kB / 429.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3521, allocations: 100 kB / 429.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.3537, allocations: 0.9307 MB / 430.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.3538, allocations: 7.906 kB / 430.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.3539, allocations: 44 kB / 430.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.3539, allocations: 24 kB / 430.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3553, allocations: 0.6325 MB / 431.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/0.3609, allocations: 3.887 MB / 435.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.3617, allocations: 444.2 kB / 435.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.3623, allocations: 273.3 kB / 435.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.3624, allocations: 4.328 kB / 435.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3624, allocations: 34.83 kB / 436 MB, free: 5.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.3624, allocations: 7.938 kB / 436 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002948/0.3654, allocations: 1.397 MB / 437.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3655, allocations: 85.11 kB / 437.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3667, allocations: 0.8252 MB / 438.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3668, allocations: 33.7 kB / 438.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.3672, allocations: 0.5564 MB / 438.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3673, allocations: 157.8 kB / 439 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.3675, allocations: 134.5 kB / 439.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3677, allocations: 334 kB / 439.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.368, allocations: 165.9 kB / 439.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.3686, allocations: 463.9 kB / 440.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.3695, allocations: 0.6583 MB / 440.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3695, allocations: 8 kB / 440.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00138/0.3709, allocations: 0.7667 MB / 441.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.371, allocations: 8 kB / 441.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.371, allocations: 8 kB / 441.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.3713, allocations: 89.86 kB / 441.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.3717, allocations: 151.7 kB / 441.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.3744, allocations: 3.134 MB / 444.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.3752, allocations: 31.98 kB / 444.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.3753, allocations: 36.06 kB / 445 MB, free: 12.11 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.0005269/0.3758, allocations: 266.8 kB / 445.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.3761, allocations: 90.81 kB / 445.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3771, allocations: 491.5 kB / 445.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3772, allocations: 8 kB / 445.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3772, allocations: 3.938 kB / 445.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3772, allocations: 3.984 kB / 445.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.3796, allocations: 1.431 MB / 447.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3796, allocations: 4.344 kB / 447.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.3799, allocations: 75.91 kB / 447.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.3802, allocations: 69.67 kB / 447.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3802, allocations: 12 kB / 447.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.3828, allocations: 3.123 MB / 450.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.3828, allocations: 4.031 kB / 450.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3842, allocations: 0.7738 MB / 451.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.3847, allocations: 196 kB / 451.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.3848, allocations: 16.11 kB / 451.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3853, allocations: 27.98 kB / 451.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3855, allocations: 35.89 kB / 451.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3855, allocations: 12 kB / 451.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009643/0.3865, allocations: 0.5693 MB / 452.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3865, allocations: 0 / 452.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3876, allocations: 211.9 kB / 452.4 MB, free: 4.266 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.001929/0.3895, allocations: 1.335 MB / 453.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3908, allocations: 0.6863 MB / 454.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3909, allocations: 192 / 454.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.3915, allocations: 453.1 kB / 454.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.393, allocations: 233.3 kB / 455.1 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.405, allocations: 7.268 MB / 462.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.4057, allocations: 1.005 MB / 463.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.4063, allocations: 107.2 kB / 463.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.4068, allocations: 379.2 kB / 463.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4068, allocations: 0 / 463.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.4842, allocations: 19.35 MB / 483.2 MB, free: 5.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.63, allocations: 11.88 kB / 483.2 MB, free: 5.168 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.0.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