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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 107.3 kB / 17.74 MB, free: 5.359 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.00125/0.00125, allocations: 192 kB / 18.67 MB, free: 4.434 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 47.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3175, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002631/0.3202, allocations: 1.524 MB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.322, allocations: 0.8443 MB / 403.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.322, allocations: 0 / 403.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.991e-05/0.3221, allocations: 11.86 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.3222, allocations: 19.86 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.3225, allocations: 47.89 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3227, allocations: 151.7 kB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3228, allocations: 31.95 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.3233, allocations: 395.2 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3234, allocations: 63.77 kB / 404.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.3235, allocations: 8 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.3235, allocations: 16 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.3236, allocations: 63.7 kB / 404.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3237, allocations: 115.2 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3241, allocations: 354.8 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3241, allocations: 3.938 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3241, allocations: 0 / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3241, allocations: 0 / 405 MB, free: 5.258 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.0007256/0.3248, allocations: 0.7277 MB / 405.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3249, allocations: 15.97 kB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.3249, allocations: 36.56 kB / 405.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.3252, allocations: 274.3 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3253, allocations: 4.375 kB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3253, allocations: 8.375 kB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3256, allocations: 129.8 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3256, allocations: 4 kB / 406.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.3256, allocations: 4 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3256, allocations: 4 kB / 406.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3258, allocations: 55.97 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.3264, allocations: 460.5 kB / 406.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3266, allocations: 94.48 kB / 406.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.3268, allocations: 84.89 kB / 406.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.3268, allocations: 0 / 406.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.3271, allocations: 208.8 kB / 407.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.3271, allocations: 4 kB / 407.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007573/0.3279, allocations: 475.9 kB / 407.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.328, allocations: 166.2 kB / 407.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/0.3286, allocations: 0.513 MB / 408.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3286, allocations: 29.7 kB / 408.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3287, allocations: 105 kB / 408.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.3288, allocations: 27.7 kB / 408.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.3289, allocations: 77.42 kB / 408.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.329, allocations: 330.8 kB / 408.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3291, allocations: 55.91 kB / 408.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3293, allocations: 81.61 kB / 408.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3296, allocations: 341.5 kB / 409.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3296, allocations: 0 / 409.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00049/0.3301, allocations: 372.3 kB / 409.6 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/0.3302, allocations: 126.8 kB / 409.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3302, allocations: 4.031 kB / 409.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3302, allocations: 0 / 409.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.3303, allocations: 112 / 409.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3303, allocations: 7.938 kB / 409.8 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3304, allocations: 19.89 kB / 409.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.3305, allocations: 40 kB / 409.8 MB, free: 28 kB / 318.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.0003387/0.3308, allocations: 358.2 kB / 410.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3309, allocations: 35.62 kB / 410.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.331, allocations: 75.08 kB / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.331, allocations: 4.125 kB / 410.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.331, allocations: 7.938 kB / 410.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.331, allocations: 0 / 410.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/0.332, allocations: 0.8095 MB / 411.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.332, allocations: 0 / 411.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-06/0.332, allocations: 0 / 411.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.332, allocations: 0 / 411.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.332, allocations: 16 kB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.332, allocations: 0 / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.332, allocations: 7.938 kB / 411.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.3327, allocations: 0.5278 MB / 411.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.333, allocations: 244.5 kB / 411.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.333, allocations: 11.98 kB / 411.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3332, allocations: 8 kB / 411.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3333, allocations: 31.91 kB / 411.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3333, allocations: 36 kB / 412 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.3338, allocations: 390.9 kB / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3338, allocations: 0 / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3341, allocations: 47.91 kB / 412.4 MB, free: 13.27 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.0001428/0.3342, allocations: 115 kB / 412.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.3347, allocations: 437.5 kB / 412.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3347, allocations: 0 / 412.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.3351, allocations: 373.6 kB / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.3357, allocations: 132.3 kB / 413.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3367, allocations: 0.6944 MB / 414.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3372, allocations: 0.8137 MB / 414.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.3372, allocations: 11.44 kB / 415 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3372, allocations: 0 / 415 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Templates: time 0.004138/0.3414, allocations: 2.606 MB / 417.6 MB, free: 7.938 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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