Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_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.001176/0.001176, allocations: 103.9 kB / 18.39 MB, free: 4.66 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.001061/0.001061, allocations: 186.4 kB / 19.33 MB, free: 3.738 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.427/1.427, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001171/0.001171, allocations: 48.41 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1097, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003197/0.113, allocations: 1.52 MB / 377.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1151, allocations: 0.887 MB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.1152, allocations: 0 / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1154, allocations: 19.86 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1155, allocations: 19.86 kB / 378.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1159, allocations: 43.89 kB / 378.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1161, allocations: 155.7 kB / 378.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1163, allocations: 23.97 kB / 378.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1168, allocations: 391.3 kB / 378.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1169, allocations: 63.7 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.117, allocations: 8 kB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.117, allocations: 12 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1171, allocations: 63.7 kB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1173, allocations: 119.2 kB / 379.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.1177, allocations: 362.7 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1177, allocations: 0 / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1177, allocations: 0 / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1178, allocations: 4 kB / 379.5 MB, free: 0.8945 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.0009898/0.1188, allocations: 0.715 MB / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1188, allocations: 8.031 kB / 380.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.1189, allocations: 36.56 kB / 380.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2103/0.3292, allocations: 274.2 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.3293, allocations: 6.312 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3294, allocations: 10.69 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.3298, allocations: 122 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3298, allocations: 1.375 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.3299, allocations: 6.234 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.3299, allocations: 4.344 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3301, allocations: 61.84 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.3309, allocations: 454.8 kB / 381.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3311, allocations: 93.06 kB / 381.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3313, allocations: 92.92 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3313, allocations: 3.938 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.3317, allocations: 200.6 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/0.3318, allocations: 3.562 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008587/0.3326, allocations: 473.6 kB / 382 MB, free: 12.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.3327, allocations: 166 kB / 382.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.3335, allocations: 0.5187 MB / 382.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3336, allocations: 32.23 kB / 382.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3337, allocations: 97.39 kB / 382.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.3337, allocations: 38.23 kB / 382.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.334, allocations: 80.09 kB / 382.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3341, allocations: 325.4 kB / 383.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3342, allocations: 58.16 kB / 383.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3344, allocations: 71.28 kB / 383.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.3349, allocations: 341.9 kB / 383.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3349, allocations: 0.5938 kB / 383.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007532/0.3357, allocations: 376.4 kB / 384.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/0.3358, allocations: 131.8 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3358, allocations: 3.172 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3358, allocations: 2.156 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-05/0.3359, allocations: 5.078 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3359, allocations: 1.375 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.336, allocations: 11.56 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.3361, allocations: 40.67 kB / 384.3 MB, free: 10.89 MB / 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.0004159/0.3366, allocations: 368.3 kB / 384.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.3366, allocations: 44 kB / 384.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3367, allocations: 65.25 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3368, allocations: 1.797 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3368, allocations: 0 / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3368, allocations: 0.7969 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3379, allocations: 0.8155 MB / 385.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3379, allocations: 0 / 385.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-06/0.3379, allocations: 2.109 kB / 385.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3379, allocations: 1.219 kB / 385.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.338, allocations: 11.23 kB / 385.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.338, allocations: 5.438 kB / 385.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.338, allocations: 0 / 385.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.3387, allocations: 0.5307 MB / 386.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.3391, allocations: 243.3 kB / 386.3 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.3391, allocations: 12.11 kB / 386.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3393, allocations: 10.61 kB / 386.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3394, allocations: 23.95 kB / 386.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.3395, allocations: 56.09 kB / 386.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005505/0.34, allocations: 387.6 kB / 386.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3401, allocations: 0 / 386.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.3404, allocations: 45.25 kB / 386.9 MB, free: 9.188 MB / 318.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.0001684/0.3406, allocations: 119.6 kB / 387 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3412, allocations: 440.8 kB / 387.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3412, allocations: 0 / 387.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.3416, allocations: 373.7 kB / 387.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.3423, allocations: 133 kB / 387.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3438, allocations: 0.7087 MB / 388.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3441, allocations: 0.7989 MB / 389.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.3441, allocations: 11.69 kB / 389.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3441, allocations: 1.094 kB / 389.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Templates: time 0.00577/0.3499, allocations: 2.598 MB / 392 MB, free: 6.93 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches