Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_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.001332/0.001332, allocations: 110.5 kB / 17.73 MB, free: 5.32 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.001345/0.001345, allocations: 187 kB / 18.66 MB, free: 4.395 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.349/1.349, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001356/0.001356, allocations: 47.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09429, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1911/0.2855, allocations: 7.932 MB / 382.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.2901, allocations: 2.632 MB / 385.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.2914, allocations: 23.62 kB / 385.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2934, allocations: 0.5577 MB / 385.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2952, allocations: 447 kB / 386.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.2958, allocations: 246.5 kB / 386.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.2972, allocations: 1.426 MB / 387.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.298, allocations: 0.5907 MB / 388.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.2987, allocations: 0.5496 MB / 389 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/0.2993, allocations: 0.5815 MB / 389.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2995, allocations: 134.4 kB / 389.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.2999, allocations: 176.5 kB / 389.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3, allocations: 271.9 kB / 390.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.3005, allocations: 0.6489 MB / 390.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.3023, allocations: 1.7 MB / 392.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3023, allocations: 0 / 392.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3023, allocations: 0 / 392.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.3023, allocations: 0 / 392.5 MB, free: 4.34 MB / 318.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.002275/0.3046, allocations: 1.431 MB / 394 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3047, allocations: 9.875 kB / 394 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.3048, allocations: 146.7 kB / 394.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.3053, allocations: 167.5 kB / 394.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3064, allocations: 0.7308 MB / 395 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.3065, allocations: 68.53 kB / 395.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.3067, allocations: 105.1 kB / 395.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3083, allocations: 0.9204 MB / 396.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.3084, allocations: 9.719 kB / 396.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.3085, allocations: 37 kB / 396.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.3085, allocations: 24.28 kB / 396.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.3097, allocations: 0.6227 MB / 396.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004942/0.3147, allocations: 3.874 MB / 400.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.3153, allocations: 354.3 kB / 401 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.3155, allocations: 146.1 kB / 401.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3156, allocations: 7.875 kB / 401.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3156, allocations: 38.3 kB / 401.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.3156, allocations: 0 / 401.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002563/0.3182, allocations: 1.196 MB / 402.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3183, allocations: 80.89 kB / 402.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3195, allocations: 0.822 MB / 403.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3195, allocations: 33.06 kB / 403.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.3199, allocations: 0.5715 MB / 403.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.32, allocations: 130.7 kB / 404 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3202, allocations: 128.3 kB / 404.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3204, allocations: 336 kB / 404.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.3207, allocations: 146.8 kB / 404.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.3212, allocations: 455.2 kB / 405.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008468/0.3221, allocations: 0.6356 MB / 405.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3221, allocations: 3.625 kB / 405.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/0.3234, allocations: 0.6928 MB / 406.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3234, allocations: 13.78 kB / 406.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3234, allocations: 13.06 kB / 406.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.3236, allocations: 31.36 kB / 406.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.3241, allocations: 156.5 kB / 406.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/0.3251, allocations: 1.393 MB / 408 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.3256, allocations: 42.95 kB / 408.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.3257, allocations: 31.66 kB / 408.1 MB, free: 9.582 MB / 334.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.0003647/0.3261, allocations: 263.1 kB / 408.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3262, allocations: 88.06 kB / 408.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.3269, allocations: 369.3 kB / 408.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3269, allocations: 6.938 kB / 408.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3269, allocations: 1.312 kB / 408.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3269, allocations: 3.984 kB / 408.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3287, allocations: 1.264 MB / 410.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3287, allocations: 6.344 kB / 410.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.329, allocations: 75.73 kB / 410.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-05/0.3291, allocations: 19.5 kB / 410.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3291, allocations: 12.41 kB / 410.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008638/0.33, allocations: 1.371 MB / 411.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.33, allocations: 2.156 kB / 411.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.331, allocations: 0.6339 MB / 412.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.3312, allocations: 191.3 kB / 412.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.3313, allocations: 8.188 kB / 412.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.3317, allocations: 33.11 kB / 412.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.3317, allocations: 28.2 kB / 412.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3317, allocations: 9.312 kB / 412.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.3324, allocations: 0.5556 MB / 413 MB, free: 5.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3324, allocations: 0 / 413 MB, free: 5.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.3331, allocations: 197.4 kB / 413.2 MB, free: 5.648 MB / 334.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.001322/0.3345, allocations: 1.196 MB / 414.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.3355, allocations: 0.5072 MB / 414.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3355, allocations: 0 / 414.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.3359, allocations: 268.8 kB / 415.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.337, allocations: 220.5 kB / 415.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3475, allocations: 7.073 MB / 422.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.3481, allocations: 0.9923 MB / 423.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.3485, allocations: 98.89 kB / 423.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.349, allocations: 371.3 kB / 423.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.342e-06/0.349, allocations: 0 / 423.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04703/0.396, allocations: 18.15 MB / 442 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.95, allocations: 7.891 kB / 442.1 MB, free: 10.73 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches