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.001182/0.001182, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 67.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3179, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009407/0.3273, allocations: 8.096 MB / 416.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.3321, allocations: 2.669 MB / 419.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.3328, allocations: 23.94 kB / 419.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3342, allocations: 0.5559 MB / 420.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.3351, allocations: 460.3 kB / 420.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3356, allocations: 247.7 kB / 420.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.337, allocations: 1.475 MB / 422.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.3378, allocations: 0.5846 MB / 422.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.3386, allocations: 0.5603 MB / 423.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.3393, allocations: 0.5988 MB / 424 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3394, allocations: 136 kB / 424.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.3398, allocations: 180 kB / 424.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.34, allocations: 279 kB / 424.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.3406, allocations: 0.6609 MB / 425.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3423, allocations: 1.721 MB / 427 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3424, allocations: 0 / 427 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3424, allocations: 0 / 427 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3424, allocations: 4 kB / 427 MB, free: 15.21 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.002255/0.3446, allocations: 1.464 MB / 428.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3447, allocations: 8.031 kB / 428.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.3449, allocations: 148.4 kB / 428.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.3455, allocations: 187.4 kB / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.3467, allocations: 0.7415 MB / 429.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.3467, allocations: 74 kB / 429.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3469, allocations: 96 kB / 429.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3484, allocations: 0.9346 MB / 430.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.3484, allocations: 3.906 kB / 430.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.3485, allocations: 44 kB / 430.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.3485, allocations: 24 kB / 430.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3497, allocations: 0.6325 MB / 431.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.3543, allocations: 3.879 MB / 435.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.355, allocations: 450.8 kB / 435.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.3555, allocations: 269.3 kB / 435.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3556, allocations: 4.328 kB / 435.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.3556, allocations: 46.83 kB / 436 MB, free: 5.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.075e-06/0.3556, allocations: 0 / 436 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002541/0.3582, allocations: 1.393 MB / 437.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.3583, allocations: 85.11 kB / 437.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3593, allocations: 0.8252 MB / 438.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.3593, allocations: 37.7 kB / 438.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.3597, allocations: 0.5526 MB / 438.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3598, allocations: 161.7 kB / 439 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.36, allocations: 130.5 kB / 439.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3601, allocations: 334 kB / 439.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.3604, allocations: 165.9 kB / 439.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.361, allocations: 463.9 kB / 440.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/0.3618, allocations: 0.6622 MB / 440.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3618, allocations: 0 / 440.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001251/0.3631, allocations: 0.7707 MB / 441.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3631, allocations: 8 kB / 441.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3632, allocations: 12 kB / 441.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.3634, allocations: 85.55 kB / 441.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.3639, allocations: 159.9 kB / 441.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.3663, allocations: 3.134 MB / 444.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.3669, allocations: 35.98 kB / 444.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3669, allocations: 32 kB / 445 MB, free: 12.12 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.0003955/0.3673, allocations: 266.8 kB / 445.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.3675, allocations: 94.81 kB / 445.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000903/0.3684, allocations: 491.4 kB / 445.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3684, allocations: 8 kB / 445.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3684, allocations: 0 / 445.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3684, allocations: 7.922 kB / 445.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3704, allocations: 1.431 MB / 447.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3704, allocations: 0 / 447.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.3707, allocations: 71.91 kB / 447.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.3709, allocations: 69.89 kB / 447.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3709, allocations: 16 kB / 447.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.3732, allocations: 3.127 MB / 450.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3732, allocations: 0 / 450.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3743, allocations: 0.7738 MB / 451.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.3746, allocations: 200 kB / 451.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3748, allocations: 15.98 kB / 451.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.3752, allocations: 27.98 kB / 451.5 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.3753, allocations: 35.89 kB / 451.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3753, allocations: 12 kB / 451.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007575/0.3761, allocations: 0.5615 MB / 452.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3761, allocations: 0 / 452.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.377, allocations: 211.9 kB / 452.4 MB, free: 4.289 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.001751/0.3787, allocations: 1.334 MB / 453.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3801, allocations: 0.6901 MB / 454.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3801, allocations: 4 kB / 454.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.3808, allocations: 445.8 kB / 454.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3819, allocations: 222.3 kB / 455 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.3925, allocations: 7.279 MB / 462.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.3933, allocations: 1.001 MB / 463.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.3938, allocations: 111.2 kB / 463.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.3943, allocations: 375.3 kB / 463.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.3943, allocations: 3.938 kB / 463.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.4422, allocations: 19.33 MB / 483.1 MB, free: 5.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 3.562 kB / 483.1 MB, free: 5.219 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