Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",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.001667/0.001668, allocations: 113 kB / 17.07 MB, free: 6.008 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.001796/0.001796, allocations: 189.4 kB / 18 MB, free: 5.09 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 47.92 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3223, allocations: 49.44 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002934/0.3252, allocations: 1.508 MB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3274, allocations: 0.8526 MB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.3275, allocations: 0 / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3276, allocations: 7.922 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.3277, allocations: 19.8 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.328, allocations: 51.88 kB / 402.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3282, allocations: 151.7 kB / 402.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3284, allocations: 27.97 kB / 402.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.3289, allocations: 383.3 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3291, allocations: 71.69 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.3291, allocations: 8 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.3291, allocations: 12 kB / 403.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.3293, allocations: 59.77 kB / 403.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3294, allocations: 111.2 kB / 403.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.3298, allocations: 365.5 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3299, allocations: 0 / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3299, allocations: 0 / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3299, allocations: 0 / 403.8 MB, free: 5.223 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008064/0.3307, allocations: 0.7343 MB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3307, allocations: 12.03 kB / 404.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.3308, allocations: 46.67 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.3309, allocations: 40.7 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3312, allocations: 274.7 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3312, allocations: 12.36 kB / 405 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3313, allocations: 8.375 kB / 405 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.3316, allocations: 137.2 kB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3316, allocations: 0 / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.3316, allocations: 8 kB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3317, allocations: 0 / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3318, allocations: 59.95 kB / 405.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.3325, allocations: 460.5 kB / 405.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3327, allocations: 98.48 kB / 405.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.3329, allocations: 88.88 kB / 405.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3329, allocations: 0 / 405.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.3333, allocations: 204.2 kB / 406 MB, free: 2.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.3333, allocations: 0 / 406 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008718/0.3342, allocations: 468.1 kB / 406.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.3343, allocations: 166.2 kB / 406.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.335, allocations: 0.5169 MB / 407.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3351, allocations: 29.7 kB / 407.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.3352, allocations: 97.14 kB / 407.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.3352, allocations: 31.78 kB / 407.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3353, allocations: 81.56 kB / 407.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3355, allocations: 326.8 kB / 407.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3357, allocations: 55.97 kB / 407.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3358, allocations: 81.61 kB / 407.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3363, allocations: 343.4 kB / 408.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3363, allocations: 0 / 408.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005927/0.3369, allocations: 384.2 kB / 408.5 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.337, allocations: 122.8 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.337, allocations: 0 / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3371, allocations: 4 kB / 408.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-05/0.3371, allocations: 112 / 408.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3371, allocations: 7.969 kB / 408.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3372, allocations: 15.98 kB / 408.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.3373, allocations: 40 kB / 408.7 MB, free: 15.91 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.0004322/0.3378, allocations: 366.2 kB / 409.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3378, allocations: 39.77 kB / 409.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.338, allocations: 67.14 kB / 409.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.338, allocations: 0 / 409.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.338, allocations: 0 / 409.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.338, allocations: 4 kB / 409.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3391, allocations: 0.8088 MB / 410 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3391, allocations: 0 / 410 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.3391, allocations: 0 / 410 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3391, allocations: 4 kB / 410 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.3392, allocations: 15.98 kB / 410 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3392, allocations: 3.984 kB / 410 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3392, allocations: 3.938 kB / 410 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.3399, allocations: 0.5373 MB / 410.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.3402, allocations: 244.6 kB / 410.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.3403, allocations: 16 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3404, allocations: 8 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3405, allocations: 27.89 kB / 410.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.3406, allocations: 47.98 kB / 410.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004857/0.3411, allocations: 386.9 kB / 411.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3411, allocations: 0 / 411.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.3414, allocations: 40 kB / 411.3 MB, free: 13.15 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.001126/0.3425, allocations: 1.086 MB / 412.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.3431, allocations: 433.5 kB / 412.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3431, allocations: 0 / 412.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.3435, allocations: 377.6 kB / 413.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3442, allocations: 124.2 kB / 413.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.348, allocations: 2.764 MB / 416.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3485, allocations: 0.7982 MB / 416.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.3486, allocations: 12.64 kB / 416.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.3487, allocations: 23.44 kB / 416.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3487, allocations: 8 kB / 416.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.382, allocations: 5.917 MB / 422.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.367, allocations: 7.531 kB / 422.8 MB, free: 1.406 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches