Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 106.6 kB / 16.92 MB, free: 6.145 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.001497/0.001497, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.279/1.279, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009672/0.0009672, allocations: 46.86 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.076, allocations: 49.45 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008241/0.08428, allocations: 7.966 MB / 358.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.08809, allocations: 2.595 MB / 360.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.08851, allocations: 23.94 kB / 360.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.08969, allocations: 0.5442 MB / 361.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.09053, allocations: 456.4 kB / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.09095, allocations: 255.5 kB / 362 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.0921, allocations: 1.422 MB / 363.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006597/0.09276, allocations: 0.5923 MB / 364 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.09325, allocations: 0.5408 MB / 364.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.09377, allocations: 0.5833 MB / 365.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.09393, allocations: 136 kB / 365.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.09425, allocations: 168 kB / 365.4 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.09445, allocations: 282.9 kB / 365.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.09496, allocations: 0.6493 MB / 366.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.09625, allocations: 1.674 MB / 368 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09627, allocations: 0 / 368 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09627, allocations: 0 / 368 MB, free: 2.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.09629, allocations: 0 / 368 MB, free: 2.348 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.002021/0.09832, allocations: 1.429 MB / 369.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.09837, allocations: 12.03 kB / 369.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.09852, allocations: 148.3 kB / 369.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.09905, allocations: 175.3 kB / 369.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1227/0.2218, allocations: 0.7086 MB / 370.5 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.2219, allocations: 69.84 kB / 370.6 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.2221, allocations: 98.05 kB / 370.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.2237, allocations: 0.9201 MB / 371.6 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.2237, allocations: 4.844 kB / 371.6 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.2238, allocations: 42.41 kB / 371.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.2238, allocations: 24.22 kB / 371.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2249, allocations: 0.6272 MB / 372.3 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.2288, allocations: 3.91 MB / 376.2 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2293, allocations: 353.3 kB / 376.5 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2296, allocations: 153.1 kB / 376.7 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2296, allocations: 6.5 kB / 376.7 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.2296, allocations: 38.3 kB / 376.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.2297, allocations: 3.828 kB / 376.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00186/0.2315, allocations: 1.182 MB / 377.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2316, allocations: 81.23 kB / 378 MB, free: 20.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.2325, allocations: 0.8272 MB / 378.8 MB, free: 20.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2325, allocations: 31.14 kB / 378.8 MB, free: 20.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.2328, allocations: 0.5648 MB / 379.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.2329, allocations: 134.6 kB / 379.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.233, allocations: 124.5 kB / 379.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.2331, allocations: 337.4 kB / 380 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2334, allocations: 147.9 kB / 380.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.2337, allocations: 459.1 kB / 380.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.2344, allocations: 0.6386 MB / 381.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2344, allocations: 3.125 kB / 381.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001001/0.2354, allocations: 0.694 MB / 381.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2354, allocations: 8 kB / 381.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2355, allocations: 17.06 kB / 381.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.2356, allocations: 27.88 kB / 382 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.2361, allocations: 159.5 kB / 382.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006622/0.2367, allocations: 1.386 MB / 383.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.2372, allocations: 38.39 kB / 383.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.2372, allocations: 32.56 kB / 383.6 MB, free: 16.73 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.0002508/0.2375, allocations: 260.5 kB / 383.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2376, allocations: 83.34 kB / 383.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.2383, allocations: 374.3 kB / 384.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2383, allocations: 7.922 kB / 384.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2383, allocations: 1.125 kB / 384.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2383, allocations: 1.969 kB / 384.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.24, allocations: 1.265 MB / 385.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.24, allocations: 2.188 kB / 385.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2403, allocations: 73 kB / 385.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.305e-05/0.2404, allocations: 28.34 kB / 385.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2404, allocations: 8.188 kB / 385.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005633/0.241, allocations: 1.376 MB / 387 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.241, allocations: 1.438 kB / 387 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.2419, allocations: 0.6314 MB / 387.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.2421, allocations: 198.3 kB / 387.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.2422, allocations: 13.77 kB / 387.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2426, allocations: 21.55 kB / 387.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.2427, allocations: 29.84 kB / 387.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2427, allocations: 12.75 kB / 388 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006765/0.2434, allocations: 0.5633 MB / 388.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2434, allocations: 0 / 388.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.2441, allocations: 190.6 kB / 388.7 MB, free: 13.28 MB / 302.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.001063/0.2451, allocations: 1.196 MB / 389.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008981/0.2461, allocations: 0.5193 MB / 390.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2461, allocations: 2.812 kB / 390.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.2464, allocations: 268.5 kB / 390.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.2474, allocations: 213 kB / 390.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.2553, allocations: 7.602 MB / 398.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2556, allocations: 0.9942 MB / 399.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.256, allocations: 94.7 kB / 399.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.2563, allocations: 365.6 kB / 399.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2563, allocations: 4 kB / 399.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9347/1.191, allocations: 17.52 MB / 417.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.34, allocations: 22.33 kB / 417.5 MB, free: 4.973 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches