Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.0008049/0.000805, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009413/0.0009414, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002007, allocations: 8 kB / 307.9 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08171, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007313/0.08906, allocations: 7.48 MB / 366.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.0931, allocations: 2.583 MB / 369.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.09403, allocations: 23.94 kB / 369.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.09563, allocations: 498.1 kB / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.09693, allocations: 393.2 kB / 370.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.09745, allocations: 207.8 kB / 370.5 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.09884, allocations: 1.342 MB / 371.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.0995, allocations: 0.4967 MB / 372.4 MB, free: 112 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.145/0.2445, allocations: 461.9 kB / 372.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.2451, allocations: 0.4986 MB / 373.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.2453, allocations: 64.16 kB / 373.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.2455, allocations: 103.8 kB / 373.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2456, allocations: 197.9 kB / 373.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.2461, allocations: 0.587 MB / 374.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.2476, allocations: 1.591 MB / 375.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2476, allocations: 0 / 375.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2476, allocations: 0.625 kB / 375.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.2476, allocations: 0 / 375.9 MB, free: 10.04 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001766/0.2494, allocations: 1.241 MB / 377.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2494, allocations: 9.344 kB / 377.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.2496, allocations: 152.2 kB / 377.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.2501, allocations: 174.6 kB / 377.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.2509, allocations: 0.7124 MB / 378.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.251, allocations: 71.25 kB / 378.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2511, allocations: 101.7 kB / 378.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.2526, allocations: 0.9288 MB / 379.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.2526, allocations: 1.828 kB / 379.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.2527, allocations: 41.3 kB / 379.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.2527, allocations: 24.25 kB / 379.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.2539, allocations: 0.6387 MB / 379.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.2583, allocations: 3.93 MB / 383.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.2588, allocations: 361.6 kB / 384.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.2591, allocations: 154.4 kB / 384.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2592, allocations: 13.19 kB / 384.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2592, allocations: 36.45 kB / 384.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.2592, allocations: 0 / 384.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001977/0.2612, allocations: 1.231 MB / 385.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2612, allocations: 81.45 kB / 385.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.2622, allocations: 0.8268 MB / 386.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2622, allocations: 30.95 kB / 386.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.2625, allocations: 0.5632 MB / 387.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.2625, allocations: 135.2 kB / 387.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.2626, allocations: 58.58 kB / 387.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.2627, allocations: 330.2 kB / 387.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.263, allocations: 157 kB / 387.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.2634, allocations: 473 kB / 388.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.2641, allocations: 0.6399 MB / 388.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.2641, allocations: 3.344 kB / 388.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001046/0.2651, allocations: 0.7136 MB / 389.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2651, allocations: 12.25 kB / 389.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2652, allocations: 12.19 kB / 389.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.2653, allocations: 34.84 kB / 389.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.2658, allocations: 168.4 kB / 389.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006634/0.2664, allocations: 1.288 MB / 391.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.2669, allocations: 49.84 kB / 391.2 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.267, allocations: 31.97 kB / 391.2 MB, free: 1.828 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003145/0.2673, allocations: 260.6 kB / 391.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2674, allocations: 82.62 kB / 391.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.2681, allocations: 393.4 kB / 391.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2681, allocations: 7.344 kB / 392 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2681, allocations: 3.031 kB / 392 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2681, allocations: 4 kB / 392 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.2697, allocations: 1.278 MB / 393.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2697, allocations: 2.625 kB / 393.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.27, allocations: 76.56 kB / 393.3 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-05/0.2701, allocations: 23.03 kB / 393.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2701, allocations: 8.891 kB / 393.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000753/0.2709, allocations: 1.287 MB / 394.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2709, allocations: 2.219 kB / 394.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2719, allocations: 0.6497 MB / 395.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.2722, allocations: 187.9 kB / 395.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.2723, allocations: 11.91 kB / 395.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.2726, allocations: 41.25 kB / 395.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.2727, allocations: 27.25 kB / 395.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2727, allocations: 8.844 kB / 395.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.2735, allocations: 0.5601 MB / 396.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2735, allocations: 0 / 396.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.2742, allocations: 192.2 kB / 396.3 MB, free: 14.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001297/0.2755, allocations: 1.224 MB / 397.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.2765, allocations: 0.5203 MB / 398 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2765, allocations: 0 / 398 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.2769, allocations: 283.2 kB / 398.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.278, allocations: 197.6 kB / 398.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.2888, allocations: 8.116 MB / 406.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.2895, allocations: 0.9911 MB / 407.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004327/0.2899, allocations: 100.8 kB / 407.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.2903, allocations: 366.2 kB / 408.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2903, allocations: 4 kB / 408.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.3221, allocations: 16.73 MB / 424.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.3223, allocations: 235.3 kB / 425 MB, free: 5.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.271, allocations: 0 / 425 MB, free: 5.191 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches