Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001317, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 71.86 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3132, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002764/0.316, allocations: 1.525 MB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.318, allocations: 0.8809 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3181, allocations: 4 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3182, allocations: 7.875 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.3183, allocations: 23.84 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3186, allocations: 47.89 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.3188, allocations: 147.7 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3189, allocations: 27.97 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.3194, allocations: 387.3 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3195, allocations: 59.77 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.3196, allocations: 12 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.3196, allocations: 8 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.3197, allocations: 67.7 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3199, allocations: 115.2 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.3203, allocations: 353.5 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3203, allocations: 0 / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3203, allocations: 0 / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3203, allocations: 0 / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009848/0.3213, allocations: 0.7421 MB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3214, allocations: 12.02 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.3214, allocations: 42.75 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.3215, allocations: 36.7 kB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3218, allocations: 274.7 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3219, allocations: 4.375 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3219, allocations: 12.31 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3222, allocations: 125.7 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3223, allocations: 7.984 kB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3223, allocations: 0 / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3223, allocations: 8 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3225, allocations: 55.97 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.3232, allocations: 468.4 kB / 414.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3234, allocations: 94.55 kB / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3235, allocations: 80.89 kB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.3236, allocations: 0 / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.3239, allocations: 206.7 kB / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.316e-06/0.3239, allocations: 0 / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007991/0.3247, allocations: 472.2 kB / 415.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3249, allocations: 170.2 kB / 415.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.3255, allocations: 0.5168 MB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3256, allocations: 29.7 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.3257, allocations: 101.1 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.3257, allocations: 31.8 kB / 415.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3258, allocations: 85.5 kB / 416 MB, free: 9.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.326, allocations: 330.7 kB / 416.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3262, allocations: 55.97 kB / 416.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3263, allocations: 69.75 kB / 416.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.3267, allocations: 346.9 kB / 416.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3267, allocations: 7.938 kB / 416.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005663/0.3273, allocations: 376.3 kB / 417.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3274, allocations: 122.8 kB / 417.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3274, allocations: 0 / 417.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3275, allocations: 0 / 417.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.3275, allocations: 3.984 kB / 417.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3275, allocations: 4 kB / 417.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3276, allocations: 15.95 kB / 417.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.3277, allocations: 40 kB / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.3281, allocations: 370.2 kB / 417.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.3282, allocations: 43.75 kB / 417.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.3283, allocations: 63.16 kB / 417.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3283, allocations: 4 kB / 417.8 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3283, allocations: 0 / 417.8 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3283, allocations: 0 / 417.8 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3294, allocations: 0.8095 MB / 418.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3294, allocations: 0 / 418.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.3294, allocations: 0 / 418.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3294, allocations: 4 kB / 418.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3294, allocations: 19.98 kB / 418.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3294, allocations: 0 / 418.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.3295, allocations: 3.938 kB / 418.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.3301, allocations: 0.5214 MB / 419.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.3305, allocations: 248.6 kB / 419.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.3305, allocations: 12 kB / 419.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3307, allocations: 15.98 kB / 419.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.3308, allocations: 27.92 kB / 419.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.3308, allocations: 44.11 kB / 419.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004834/0.3313, allocations: 386.9 kB / 419.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.3313, allocations: 0 / 419.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3316, allocations: 51.94 kB / 419.9 MB, free: 5.734 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.3329, allocations: 1.09 MB / 421 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.3336, allocations: 433.5 kB / 421.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3336, allocations: 0 / 421.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.334, allocations: 377.5 kB / 421.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.3347, allocations: 139.6 kB / 422 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.3387, allocations: 2.756 MB / 424.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3392, allocations: 0.7983 MB / 425.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.123e-05/0.3393, allocations: 8.656 kB / 425.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.3394, allocations: 31.42 kB / 425.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3394, allocations: 0 / 425.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3678, allocations: 5.897 MB / 431.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.156, allocations: 11.22 kB / 431.5 MB, free: 9.988 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches