Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 113.3 kB / 17.28 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009652/0.0009653, allocations: 189.3 kB / 18.19 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 44.16 kB / 280.3 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07279/0.07392, allocations: 46.62 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008093/0.08205, allocations: 8.012 MB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.08604, allocations: 2.631 MB / 337.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008637/0.08696, allocations: 27.88 kB / 337.6 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.08846, allocations: 0.4981 MB / 338.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.08963, allocations: 405.1 kB / 338.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.09006, allocations: 215.8 kB / 338.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.09129, allocations: 1.459 MB / 340.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.09196, allocations: 0.5924 MB / 340.7 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.09248, allocations: 0.5563 MB / 341.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.09301, allocations: 0.5911 MB / 341.9 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.09315, allocations: 136 kB / 342 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.09342, allocations: 180 kB / 342.2 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.09361, allocations: 282.9 kB / 342.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.09411, allocations: 0.6571 MB / 343.1 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.09544, allocations: 1.713 MB / 344.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09545, allocations: 0 / 344.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09546, allocations: 4 kB / 344.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.09548, allocations: 0 / 344.8 MB, free: 2.645 MB / 286.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.002004/0.09749, allocations: 1.449 MB / 346.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.09753, allocations: 12.03 kB / 346.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.09768, allocations: 152.4 kB / 346.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.09827, allocations: 187.4 kB / 346.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.0992, allocations: 0.7336 MB / 347.3 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.09927, allocations: 74.05 kB / 347.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.09939, allocations: 96 kB / 347.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1008, allocations: 0.9346 MB / 348.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.1008, allocations: 7.891 kB / 348.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.1009, allocations: 44 kB / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.1009, allocations: 24 kB / 348.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.102, allocations: 0.6324 MB / 349.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.1062, allocations: 3.911 MB / 353.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.1069, allocations: 444.5 kB / 353.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.1074, allocations: 265.4 kB / 353.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1074, allocations: 4.328 kB / 353.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1075, allocations: 30.89 kB / 353.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.1075, allocations: 0 / 353.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002291/0.1098, allocations: 1.403 MB / 355.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1098, allocations: 81.11 kB / 355.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/0.1107, allocations: 0.833 MB / 356.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.1108, allocations: 33.7 kB / 356.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.1111, allocations: 0.5564 MB / 356.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1112, allocations: 157.8 kB / 356.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.1114, allocations: 126.5 kB / 357 MB, free: 5.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1115, allocations: 334 kB / 357.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.1118, allocations: 165.9 kB / 357.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.1123, allocations: 460 kB / 357.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.1131, allocations: 0.6622 MB / 358.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1131, allocations: 0 / 358.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001135/0.1143, allocations: 0.7744 MB / 359.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1143, allocations: 8 kB / 359.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1143, allocations: 12 kB / 359.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.1145, allocations: 85.88 kB / 359.4 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.115, allocations: 151.7 kB / 359.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.1172, allocations: 3.157 MB / 362.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.1176, allocations: 31.89 kB / 362.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.1177, allocations: 36 kB / 362.8 MB, free: 15.54 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.0002956/0.118, allocations: 268 kB / 363.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1181, allocations: 82.97 kB / 363.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.1189, allocations: 495.5 kB / 363.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1189, allocations: 4 kB / 363.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.119, allocations: 7.984 kB / 363.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.119, allocations: 0 / 363.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.1208, allocations: 1.438 MB / 365.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1208, allocations: 4 kB / 365.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.1211, allocations: 72.03 kB / 365.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.1213, allocations: 73.89 kB / 365.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1213, allocations: 12 kB / 365.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.1232, allocations: 3.126 MB / 368.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1233, allocations: 3.938 kB / 368.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1243, allocations: 0.7613 MB / 369.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.1245, allocations: 196.1 kB / 369.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.1246, allocations: 24.05 kB / 369.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.125, allocations: 23.98 kB / 369.4 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1251, allocations: 39.89 kB / 369.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1251, allocations: 12 kB / 369.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006314/0.1258, allocations: 0.5615 MB / 370 MB, free: 7.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1258, allocations: 4 kB / 370 MB, free: 7.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006859/0.1265, allocations: 212 kB / 370.2 MB, free: 7.703 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.001366/0.1278, allocations: 1.322 MB / 371.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1289, allocations: 0.7017 MB / 372.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.129, allocations: 4 kB / 372.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.1295, allocations: 441.8 kB / 372.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1305, allocations: 226.7 kB / 372.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1256/0.2561, allocations: 8.202 MB / 381.1 MB, free: 50.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2566, allocations: 1.005 MB / 382.1 MB, free: 49.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.2571, allocations: 104.9 kB / 382.2 MB, free: 49.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.2575, allocations: 372 kB / 382.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2575, allocations: 2.438 kB / 382.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.2936, allocations: 18.53 MB / 401.1 MB, free: 40.78 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.2938, allocations: 240.4 kB / 401.3 MB, free: 40.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.354, allocations: 0 / 401.3 MB, free: 40.52 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches