Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_0_0_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.001114/0.001115, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001055/0.001055, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 51.77 kB / 300.1 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08991, allocations: 49.45 MB / 349.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008466/0.0984, allocations: 8.051 MB / 357.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00439/0.1028, allocations: 2.614 MB / 360.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1041, allocations: 27.94 kB / 360.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.1058, allocations: 490.1 kB / 360.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1075, allocations: 409.2 kB / 361.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.1082, allocations: 223.8 kB / 361.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.1101, allocations: 1.397 MB / 362.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008809/0.111, allocations: 0.4928 MB / 363.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/0.1119, allocations: 0.4977 MB / 363.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.1128, allocations: 0.5637 MB / 364.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.1131, allocations: 84 kB / 364.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.1136, allocations: 124 kB / 364.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1138, allocations: 230.9 kB / 364.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.1146, allocations: 0.6141 MB / 365.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.1161, allocations: 1.666 MB / 367 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1161, allocations: 0 / 367 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1161, allocations: 0 / 367 MB, free: 2.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.216e-05/0.1161, allocations: 0 / 367 MB, free: 2.973 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.002725/0.1189, allocations: 1.445 MB / 368.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1189, allocations: 8.031 kB / 368.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.1191, allocations: 152.4 kB / 368.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006725/0.1198, allocations: 187.4 kB / 368.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1209, allocations: 0.7259 MB / 369.5 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.1209, allocations: 74 kB / 369.5 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1211, allocations: 96 kB / 369.6 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1366/0.2576, allocations: 0.9306 MB / 370.6 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.2577, allocations: 6.484 kB / 370.6 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2578, allocations: 40.84 kB / 370.6 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.2579, allocations: 23.94 kB / 370.6 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.2593, allocations: 0.6362 MB / 371.3 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.2643, allocations: 3.928 MB / 375.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.2649, allocations: 433.5 kB / 375.6 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.2654, allocations: 259.9 kB / 375.9 MB, free: 22.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2655, allocations: 8.938 kB / 375.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2655, allocations: 41.2 kB / 375.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.2655, allocations: 0 / 375.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00233/0.2678, allocations: 1.397 MB / 377.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2679, allocations: 84.62 kB / 377.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.2688, allocations: 0.8232 MB / 378.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2689, allocations: 38.88 kB / 378.3 MB, free: 20.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.2691, allocations: 0.552 MB / 378.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.2692, allocations: 160.1 kB / 379 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.2694, allocations: 131.7 kB / 379.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.2694, allocations: 333.8 kB / 379.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2698, allocations: 171.2 kB / 379.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.2702, allocations: 463.3 kB / 380.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.2709, allocations: 0.6577 MB / 380.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2709, allocations: 2.344 kB / 380.7 MB, free: 18.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001203/0.2721, allocations: 0.7675 MB / 381.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2721, allocations: 8.219 kB / 381.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2721, allocations: 9.875 kB / 381.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.2724, allocations: 77.2 kB / 381.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.2728, allocations: 159 kB / 381.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.2744, allocations: 2.882 MB / 384.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.275, allocations: 32.48 kB / 384.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.275, allocations: 31.94 kB / 384.7 MB, free: 15.43 MB / 302.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.0003337/0.2753, allocations: 262 kB / 384.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2755, allocations: 89.3 kB / 385 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.2763, allocations: 492.5 kB / 385.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2763, allocations: 4.781 kB / 385.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2763, allocations: 1.125 kB / 385.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2764, allocations: 7.984 kB / 385.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.2784, allocations: 1.427 MB / 386.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2784, allocations: 2.219 kB / 386.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.2787, allocations: 67.33 kB / 387 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.2789, allocations: 79.31 kB / 387.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2789, allocations: 9.438 kB / 387.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.2804, allocations: 2.864 MB / 390 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2804, allocations: 2 kB / 390 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2815, allocations: 0.7676 MB / 390.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.2818, allocations: 201.2 kB / 390.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.2819, allocations: 13.56 kB / 390.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.2823, allocations: 21.25 kB / 391 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.2824, allocations: 38.77 kB / 391 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.2824, allocations: 14.62 kB / 391 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007055/0.2831, allocations: 0.5676 MB / 391.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2831, allocations: 0 / 391.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008551/0.284, allocations: 201.5 kB / 391.8 MB, free: 10.34 MB / 302.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.001258/0.2852, allocations: 1.329 MB / 393.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2863, allocations: 0.6967 MB / 393.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2863, allocations: 0 / 393.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.2868, allocations: 435 kB / 394.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2879, allocations: 209.8 kB / 394.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009481/0.2974, allocations: 8.216 MB / 402.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2978, allocations: 1.002 MB / 403.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000453/0.2982, allocations: 106.6 kB / 403.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.2986, allocations: 370.6 kB / 404.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2986, allocations: 0 / 404.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.31/5.609, allocations: 18.08 MB / 422.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/5.609, allocations: 241.1 kB / 422.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/9.487, allocations: 0 / 422.4 MB, free: 15.7 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches