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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 184.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] 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=5009,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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 39.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.315, allocations: 52.18 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003009/0.318, allocations: 1.544 MB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.32, allocations: 0.8576 MB / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.32, allocations: 0 / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.562e-05/0.3201, allocations: 11.86 kB / 425.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.3202, allocations: 23.84 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3204, allocations: 55.88 kB / 425.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3206, allocations: 135.7 kB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.3207, allocations: 19.98 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.3212, allocations: 387.3 kB / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3213, allocations: 75.67 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.3213, allocations: 8 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.3214, allocations: 12 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.3215, allocations: 63.7 kB / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3216, allocations: 111.2 kB / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.322, allocations: 371.7 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.322, allocations: 0 / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.322, allocations: 0 / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.322, allocations: 4 kB / 426.8 MB, free: 10.97 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.0006991/0.3227, allocations: 0.6551 MB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.3227, allocations: 12.03 kB / 427.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.3228, allocations: 36.7 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.323, allocations: 216.8 kB / 427.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.323, allocations: 4.375 kB / 427.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3231, allocations: 16.38 kB / 427.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3233, allocations: 125.9 kB / 427.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.3233, allocations: 3.938 kB / 427.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3234, allocations: 4 kB / 427.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.3234, allocations: 0 / 427.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3235, allocations: 55.97 kB / 427.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3241, allocations: 435.5 kB / 428.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3243, allocations: 78.48 kB / 428.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.3244, allocations: 60.89 kB / 428.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.3244, allocations: 0 / 428.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.3247, allocations: 201.6 kB / 428.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3247, allocations: 0 / 428.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008109/0.3255, allocations: 468.1 kB / 429.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3257, allocations: 170.2 kB / 429.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.3263, allocations: 0.513 MB / 429.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.3264, allocations: 33.7 kB / 429.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.3264, allocations: 97.12 kB / 429.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.3265, allocations: 27.81 kB / 429.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3266, allocations: 77.55 kB / 430 MB, free: 7.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3267, allocations: 334.7 kB / 430.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3269, allocations: 55.97 kB / 430.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.327, allocations: 77.62 kB / 430.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.3274, allocations: 339.4 kB / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3274, allocations: 0 / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005533/0.3279, allocations: 376 kB / 431.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.328, allocations: 134.7 kB / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.328, allocations: 0 / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.328, allocations: 0 / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.142e-05/0.3281, allocations: 4 kB / 431.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3281, allocations: 4.031 kB / 431.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3282, allocations: 11.98 kB / 431.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.3283, allocations: 44.06 kB / 431.4 MB, free: 5.992 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.0003575/0.3286, allocations: 370.2 kB / 431.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3287, allocations: 39.77 kB / 431.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3288, allocations: 67.08 kB / 431.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3288, allocations: 0 / 431.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3288, allocations: 7.984 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3288, allocations: 4 kB / 431.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3299, allocations: 0.7773 MB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3299, allocations: 0 / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.3299, allocations: 0 / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3299, allocations: 0 / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3299, allocations: 12 kB / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3299, allocations: 0 / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3299, allocations: 7.922 kB / 432.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.3306, allocations: 0.5332 MB / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.3309, allocations: 209.3 kB / 433.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.331, allocations: 12 kB / 433.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3311, allocations: 8 kB / 433.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3312, allocations: 27.91 kB / 433.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.3313, allocations: 51.97 kB / 433.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.3318, allocations: 390.8 kB / 433.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3318, allocations: 0 / 433.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3321, allocations: 40 kB / 433.9 MB, free: 3.309 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.0001395/0.3322, allocations: 115 kB / 434 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.3327, allocations: 373.5 kB / 434.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3327, allocations: 0 / 434.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.333, allocations: 301.8 kB / 434.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.3337, allocations: 130 kB / 434.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3348, allocations: 0.6649 MB / 435.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.3353, allocations: 0.806 MB / 436.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.3354, allocations: 12.64 kB / 436.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3354, allocations: 11.44 kB / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3354, allocations: 0 / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Templates: time 0.008511/0.3439, allocations: 4.534 MB / 440.8 MB, free: 12.21 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.759451170451939]