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.001359/0.001359, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001342/0.001342, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.396/1.396, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.00148/0.00148, allocations: 47.14 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09301, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002728/0.09574, allocations: 1.478 MB / 373 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.09759, allocations: 0.8128 MB / 373.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.09763, allocations: 0 / 373.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.09772, allocations: 11.86 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.0978, allocations: 19.84 kB / 373.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.09805, allocations: 55.89 kB / 373.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.09827, allocations: 131.7 kB / 374.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.09836, allocations: 23.95 kB / 374.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.09887, allocations: 395.2 kB / 374.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.099, allocations: 63.75 kB / 374.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.09905, allocations: 12 kB / 374.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/0.09909, allocations: 12 kB / 374.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.09917, allocations: 63.7 kB / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.09928, allocations: 87.34 kB / 374.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.09973, allocations: 362.5 kB / 375.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09974, allocations: 0 / 375.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09974, allocations: 4 kB / 375.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09974, allocations: 0 / 375.1 MB, free: 3.824 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.0007791/0.1005, allocations: 0.6591 MB / 375.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1006, allocations: 8.922 kB / 375.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.1006, allocations: 44.7 kB / 375.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1009, allocations: 224.8 kB / 376 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1009, allocations: 8.359 kB / 376 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.101, allocations: 8.375 kB / 376 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1013, allocations: 248.7 kB / 376.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1013, allocations: 0 / 376.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1014, allocations: 4 kB / 376.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1014, allocations: 4 kB / 376.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1016, allocations: 170.8 kB / 376.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.1022, allocations: 392.2 kB / 376.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1025, allocations: 189.4 kB / 377 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1027, allocations: 183.7 kB / 377.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.1027, allocations: 0 / 377.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.1031, allocations: 325.5 kB / 377.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1031, allocations: 0 / 377.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009808/0.1041, allocations: 0.701 MB / 378.2 MB, free: 344 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.1042, allocations: 170.2 kB / 378.4 MB, free: 136 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/0.1049, allocations: 0.513 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.105, allocations: 29.7 kB / 378.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.105, allocations: 105.1 kB / 379 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.1051, allocations: 31.78 kB / 379 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1052, allocations: 81.56 kB / 379.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1053, allocations: 322.8 kB / 379.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1055, allocations: 186.6 kB / 379.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1058, allocations: 192.5 kB / 379.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1061, allocations: 354.9 kB / 380.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1061, allocations: 0 / 380.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006476/0.1068, allocations: 0.503 MB / 380.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1069, allocations: 126.8 kB / 380.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1069, allocations: 4.141 kB / 380.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1069, allocations: 3.938 kB / 380.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.796e-05/0.1069, allocations: 0 / 380.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1069, allocations: 7.984 kB / 380.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1071, allocations: 8 kB / 380.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.1071, allocations: 43.94 kB / 380.9 MB, free: 13.43 MB / 350.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.000368/0.1075, allocations: 362.5 kB / 381.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.1075, allocations: 43.75 kB / 381.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1076, allocations: 63.09 kB / 381.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1076, allocations: 11.94 kB / 381.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1077, allocations: 0 / 381.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1077, allocations: 0 / 381.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1087, allocations: 0.8666 MB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1087, allocations: 0 / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-06/0.1087, allocations: 0 / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1087, allocations: 3.984 kB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1087, allocations: 12 kB / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1087, allocations: 0 / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1087, allocations: 0 / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.1095, allocations: 0.6569 MB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.1099, allocations: 205.4 kB / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.1099, allocations: 12.25 kB / 383.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1101, allocations: 12 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1102, allocations: 27.97 kB / 383.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.1102, allocations: 43.98 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004901/0.1107, allocations: 386.9 kB / 383.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1107, allocations: 0 / 383.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.111, allocations: 51.88 kB / 383.6 MB, free: 10.51 MB / 350.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.0001265/0.1112, allocations: 111 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.1118, allocations: 0.6124 MB / 384.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1118, allocations: 0 / 384.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.1122, allocations: 428.4 kB / 384.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1128, allocations: 122.7 kB / 384.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.114, allocations: 0.7731 MB / 385.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1142, allocations: 197.7 kB / 385.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.1143, allocations: 12.78 kB / 385.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1143, allocations: 12.5 kB / 385.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1143, allocations: 4 kB / 385.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Templates: time 0.008652/0.123, allocations: 4.963 MB / 390.8 MB, free: 3.074 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.32693395705428]