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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 170.8 kB / 25.33 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 158.6 MB / 187.2 MB, free: 2.488 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 251 MB, free: 3.457 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.924e-05, allocations: 5.406 kB / 251.1 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002369/0.002398, allocations: 1.513 MB / 252.6 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.00405, allocations: 0.8702 MB / 253.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.004137, allocations: 0 / 253.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004268, allocations: 11.86 kB / 253.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.004375, allocations: 19.8 kB / 253.5 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.004759, allocations: 51.88 kB / 253.5 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004983, allocations: 139.7 kB / 253.7 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005106, allocations: 11.98 kB / 253.7 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.005586, allocations: 427.2 kB / 254.1 MB, free: 408 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.005717, allocations: 55.81 kB / 254.1 MB, free: 352 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.005757, allocations: 12 kB / 254.1 MB, free: 340 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.005784, allocations: 15.94 kB / 254.2 MB, free: 324 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.005865, allocations: 67.72 kB / 254.2 MB, free: 256 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.005969, allocations: 59.78 kB / 254.3 MB, free: 196 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.006267, allocations: 263 kB / 254.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006271, allocations: 0 / 254.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006272, allocations: 0 / 254.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.006279, allocations: 0 / 254.5 MB, free: 15.93 MB / 250.7 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.0007408/0.007019, allocations: 0.7824 MB / 255.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.007067, allocations: 11.98 kB / 255.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.007147, allocations: 44.7 kB / 255.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.007382, allocations: 226.9 kB / 255.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.007409, allocations: 4.375 kB / 255.6 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.00743, allocations: 16.3 kB / 255.6 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.007792, allocations: 245.7 kB / 255.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007804, allocations: 192 / 255.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007823, allocations: 4.375 kB / 255.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.007834, allocations: 3.938 kB / 255.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.00795, allocations: 166.8 kB / 256 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.008541, allocations: 0.4915 MB / 256.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.008722, allocations: 197.8 kB / 256.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.008831, allocations: 166.5 kB / 256.9 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.00884, allocations: 3.938 kB / 256.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.009075, allocations: 327.2 kB / 257.2 MB, free: 12.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.009076, allocations: 3.938 kB / 257.2 MB, free: 12.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006326/0.009709, allocations: 0.6659 MB / 257.9 MB, free: 12.22 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.009796, allocations: 174.2 kB / 258 MB, free: 12.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.01041, allocations: 0.631 MB / 258.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.01044, allocations: 33.7 kB / 258.7 MB, free: 11.33 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.01051, allocations: 143.9 kB / 258.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.01056, allocations: 27.8 kB / 258.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.01066, allocations: 95.16 kB / 259 MB, free: 11.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.0108, allocations: 0.4923 MB / 259.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.01092, allocations: 158.8 kB / 259.6 MB, free: 10.37 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.01102, allocations: 190.1 kB / 259.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.01122, allocations: 343.4 kB / 260.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01122, allocations: 4 kB / 260.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003864/0.01161, allocations: 487.1 kB / 260.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.01168, allocations: 126.7 kB / 260.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01169, allocations: 4 kB / 260.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.0117, allocations: 0 / 260.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.01173, allocations: 0 / 260.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01173, allocations: 0 / 260.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.01184, allocations: 23.94 kB / 260.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.01188, allocations: 36 kB / 260.8 MB, free: 9.016 MB / 250.7 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.0002403/0.01212, allocations: 385.3 kB / 261.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.01217, allocations: 55.73 kB / 261.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.01224, allocations: 59.08 kB / 261.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01225, allocations: 0 / 261.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01225, allocations: 0 / 261.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01225, allocations: 0 / 261.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.01301, allocations: 0.9555 MB / 262.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01302, allocations: 3.984 kB / 262.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.01303, allocations: 0 / 262.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01303, allocations: 0 / 262.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.01305, allocations: 16 kB / 262.3 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01305, allocations: 0 / 262.3 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01306, allocations: 4 kB / 262.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.01352, allocations: 0.6983 MB / 263 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.01375, allocations: 185.3 kB / 263.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.01379, allocations: 12 kB / 263.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.01389, allocations: 15.98 kB / 263.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.01398, allocations: 24.14 kB / 263.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.01402, allocations: 51.94 kB / 263.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003638/0.01438, allocations: 426.7 kB / 263.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01438, allocations: 0 / 263.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01459, allocations: 44 kB / 263.7 MB, free: 5.914 MB / 250.7 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.000127/0.01472, allocations: 119 kB / 263.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.01513, allocations: 0.5964 MB / 264.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01513, allocations: 0 / 264.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.01534, allocations: 416.1 kB / 264.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.01574, allocations: 141.7 kB / 265 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.01653, allocations: 0.7478 MB / 265.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.631e-05/0.01661, allocations: 103.2 kB / 265.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.719e-05/0.01664, allocations: 0.7344 kB / 265.8 MB, free: 3.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.01667, allocations: 20.5 kB / 265.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01667, allocations: 0 / 265.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of Templates: time 0.007027/0.0237, allocations: 5.19 MB / 271 MB, free: 14.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8484422019682825]