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.001178/0.001178, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 56.41 kB / 306.4 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08294, allocations: 50.53 MB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008722/0.09169, allocations: 7.967 MB / 364.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.09577, allocations: 2.61 MB / 367.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007636/0.09656, allocations: 23.94 kB / 367.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.0981, allocations: 498.1 kB / 368 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.09935, allocations: 397.2 kB / 368.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.09992, allocations: 215.8 kB / 368.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.1014, allocations: 1.346 MB / 369.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.1021, allocations: 0.4967 MB / 370.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.1028, allocations: 497.7 kB / 370.9 MB, free: 72 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1362/0.239, allocations: 0.5564 MB / 371.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.2393, allocations: 82.47 kB / 371.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.2397, allocations: 118.7 kB / 371.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.2399, allocations: 223 kB / 371.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.2404, allocations: 0.5985 MB / 372.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.2419, allocations: 1.638 MB / 374.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2419, allocations: 0.8438 kB / 374.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2419, allocations: 0 / 374.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2419, allocations: 0 / 374.1 MB, free: 10.62 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.002122/0.244, allocations: 1.429 MB / 375.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2441, allocations: 10.16 kB / 375.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.2443, allocations: 151.6 kB / 375.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.2448, allocations: 173.3 kB / 375.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.2458, allocations: 0.7135 MB / 376.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.2458, allocations: 72.66 kB / 376.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.246, allocations: 99.89 kB / 376.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2474, allocations: 0.9243 MB / 377.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.2474, allocations: 5.828 kB / 377.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.2475, allocations: 41.06 kB / 377.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.2475, allocations: 25.27 kB / 377.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2487, allocations: 0.6215 MB / 378.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.2529, allocations: 3.91 MB / 382.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.2534, allocations: 350.9 kB / 382.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.2536, allocations: 151.1 kB / 382.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2537, allocations: 7.5 kB / 382.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2537, allocations: 35.06 kB / 382.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.373e-06/0.2537, allocations: 2.625 kB / 382.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001881/0.2556, allocations: 1.188 MB / 384 MB, free: 5.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2556, allocations: 82.52 kB / 384.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.2566, allocations: 0.8191 MB / 384.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2566, allocations: 35.05 kB / 384.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.2569, allocations: 0.5721 MB / 385.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.257, allocations: 127.7 kB / 385.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2571, allocations: 132.4 kB / 385.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.2572, allocations: 331.7 kB / 386.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.2575, allocations: 152.3 kB / 386.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.2579, allocations: 459.4 kB / 386.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.2585, allocations: 0.629 MB / 387.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2586, allocations: 3.469 kB / 387.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001025/0.2596, allocations: 0.6922 MB / 388 MB, free: 3.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2596, allocations: 14.75 kB / 388 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2596, allocations: 16.28 kB / 388 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.2598, allocations: 33.02 kB / 388.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.2603, allocations: 156.5 kB / 388.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00064/0.2609, allocations: 1.297 MB / 389.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.2614, allocations: 34.2 kB / 389.6 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.2614, allocations: 35.91 kB / 389.6 MB, free: 1.742 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.0002605/0.2617, allocations: 267.6 kB / 389.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2618, allocations: 83.53 kB / 389.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.2625, allocations: 374.3 kB / 390.3 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2625, allocations: 7.969 kB / 390.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2625, allocations: 0 / 390.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2625, allocations: 5.188 kB / 390.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.264, allocations: 1.27 MB / 391.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.264, allocations: 5.469 kB / 391.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.2643, allocations: 72.05 kB / 391.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.2644, allocations: 23.95 kB / 391.7 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2644, allocations: 8.031 kB / 391.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/0.2651, allocations: 1.283 MB / 393 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2652, allocations: 2.25 kB / 393 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.2661, allocations: 0.6299 MB / 393.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.2663, allocations: 188.1 kB / 393.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.2664, allocations: 11.92 kB / 393.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.2668, allocations: 24.03 kB / 393.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.2669, allocations: 29.16 kB / 393.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2669, allocations: 11.84 kB / 393.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007145/0.2676, allocations: 0.5638 MB / 394.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2676, allocations: 1.25 kB / 394.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.2683, allocations: 196.2 kB / 394.6 MB, free: 14.43 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.001306/0.2696, allocations: 1.187 MB / 395.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.2705, allocations: 0.5063 MB / 396.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2705, allocations: 320 / 396.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.2709, allocations: 272.3 kB / 396.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.272, allocations: 206.7 kB / 396.8 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2824, allocations: 7.969 MB / 404.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.283, allocations: 0.9919 MB / 405.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.2834, allocations: 102.4 kB / 405.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.2838, allocations: 364.3 kB / 406.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2838, allocations: 0 / 406.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3129, allocations: 16.93 MB / 423.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.3131, allocations: 234.8 kB / 423.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.316, allocations: 2.812 kB / 423.4 MB, free: 6.051 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