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.001137/0.001137, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.4 MB, free: 9.148 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.77 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.0932, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009237/0.1025, allocations: 8.068 MB / 365.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.1066, allocations: 2.638 MB / 367.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007868/0.1074, allocations: 27.94 kB / 367.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1089, allocations: 0.4903 MB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1099, allocations: 405.2 kB / 368.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.1104, allocations: 219.8 kB / 368.9 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1118, allocations: 1.471 MB / 370.4 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.1125, allocations: 0.5807 MB / 371 MB, free: 136 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1579/0.2705, allocations: 0.5576 MB / 371.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.2713, allocations: 0.595 MB / 372.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.2715, allocations: 137.3 kB / 372.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.2719, allocations: 175.3 kB / 372.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.2721, allocations: 279.7 kB / 372.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.2726, allocations: 0.6662 MB / 373.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2743, allocations: 1.698 MB / 375.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2744, allocations: 0 / 375.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2744, allocations: 2.469 kB / 375.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.2744, allocations: 0 / 375.1 MB, free: 10.33 MB / 302.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.002409/0.2768, allocations: 1.449 MB / 376.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2769, allocations: 10.75 kB / 376.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.277, allocations: 151.6 kB / 376.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.2777, allocations: 188.4 kB / 376.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2788, allocations: 0.7323 MB / 377.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.2788, allocations: 72.06 kB / 377.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2789, allocations: 100.2 kB / 377.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.2806, allocations: 0.932 MB / 378.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.2806, allocations: 9.719 kB / 378.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.2807, allocations: 39.53 kB / 378.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.2808, allocations: 24.16 kB / 378.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.282, allocations: 0.637 MB / 379.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.2871, allocations: 3.917 MB / 383.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.2879, allocations: 444.6 kB / 383.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.2886, allocations: 258.4 kB / 384 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.2886, allocations: 10.55 kB / 384 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2887, allocations: 34.67 kB / 384.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 4.809e-06/0.2887, allocations: 4 kB / 384.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002959/0.2916, allocations: 1.394 MB / 385.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.2917, allocations: 85.36 kB / 385.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2928, allocations: 0.8227 MB / 386.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.2928, allocations: 36.2 kB / 386.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.2932, allocations: 0.5593 MB / 387 MB, free: 4.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2933, allocations: 156.9 kB / 387.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.2936, allocations: 133.8 kB / 387.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.2937, allocations: 332.7 kB / 387.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.294, allocations: 164.6 kB / 387.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.2945, allocations: 464.3 kB / 388.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.2953, allocations: 0.6558 MB / 388.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2953, allocations: 2.312 kB / 388.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001293/0.2966, allocations: 0.7638 MB / 389.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.2966, allocations: 9.312 kB / 389.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2967, allocations: 9.312 kB / 389.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.297, allocations: 91.97 kB / 389.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.2975, allocations: 150.6 kB / 389.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2996, allocations: 3.149 MB / 393 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.3003, allocations: 36.92 kB / 393 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.3004, allocations: 36.59 kB / 393.1 MB, free: 15.23 MB / 318.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.0004556/0.3008, allocations: 256.8 kB / 393.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.301, allocations: 92.56 kB / 393.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009513/0.3019, allocations: 490 kB / 393.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.302, allocations: 4.656 kB / 393.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.302, allocations: 8.969 kB / 393.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.302, allocations: 4.641 kB / 393.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.3044, allocations: 1.436 MB / 395.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3044, allocations: 3.594 kB / 395.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.3047, allocations: 71.95 kB / 395.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.3049, allocations: 71.66 kB / 395.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.305, allocations: 12.75 kB / 395.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3074, allocations: 3.133 MB / 398.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3075, allocations: 2.406 kB / 398.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.309, allocations: 0.7651 MB / 399.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.3094, allocations: 193.1 kB / 399.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3095, allocations: 12.78 kB / 399.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.3099, allocations: 29.97 kB / 399.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.31, allocations: 35.27 kB / 399.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3101, allocations: 17.69 kB / 399.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008533/0.3109, allocations: 0.565 MB / 400.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.311, allocations: 0 / 400.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000963/0.3119, allocations: 206.3 kB / 400.5 MB, free: 9.75 MB / 318.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.001646/0.3136, allocations: 1.339 MB / 401.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3149, allocations: 0.6938 MB / 402.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.315, allocations: 6.875 kB / 402.5 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.3156, allocations: 441.5 kB / 402.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3168, allocations: 230.9 kB / 403.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.329, allocations: 8.2 MB / 411.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.3297, allocations: 1.008 MB / 412.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.3302, allocations: 103.2 kB / 412.5 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.3306, allocations: 371.3 kB / 412.8 MB, free: 108 kB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3307, allocations: 4 kB / 412.8 MB, free: 104 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/0.4066, allocations: 18.55 MB / 431.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.4069, allocations: 246 kB / 431.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.727, allocations: 0 / 431.6 MB, free: 13.62 MB / 350.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