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.000944/0.000944, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001089/0.001089, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.069/1.069, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 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 1.533e-06/1.533e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.966e-05, allocations: 10.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002415/0.002444, allocations: 1.521 MB / 269.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004003, allocations: 0.8224 MB / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.004066, allocations: 0 / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.152e-05/0.004158, allocations: 11.86 kB / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.004241, allocations: 27.84 kB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.004516, allocations: 55.81 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.004686, allocations: 139.7 kB / 270.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.004775, allocations: 15.97 kB / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.005167, allocations: 419.2 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.00527, allocations: 63.8 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.005302, allocations: 12 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.402e-05/0.005326, allocations: 8 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.005395, allocations: 67.72 kB / 271.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.005461, allocations: 51.73 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.005699, allocations: 267.1 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005702, allocations: 0 / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005703, allocations: 0 / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.005708, allocations: 0 / 271.5 MB, free: 2.969 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.0006454/0.006354, allocations: 0.7824 MB / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.006392, allocations: 8.922 kB / 272.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.006458, allocations: 48.64 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006652, allocations: 222.9 kB / 272.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.006673, allocations: 4.375 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.006692, allocations: 8.375 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.006988, allocations: 257.6 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.006995, allocations: 192 / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.007011, allocations: 8.359 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.007019, allocations: 7.922 kB / 272.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.007132, allocations: 162.8 kB / 272.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.007701, allocations: 499.4 kB / 273.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.007858, allocations: 189.8 kB / 273.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.007967, allocations: 174.5 kB / 273.8 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.007975, allocations: 7.938 kB / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.008192, allocations: 319.2 kB / 274.1 MB, free: 12 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.008193, allocations: 3.938 kB / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005817/0.008775, allocations: 0.6698 MB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.008842, allocations: 174.2 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.00939, allocations: 0.6193 MB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.009414, allocations: 33.7 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.009477, allocations: 147.8 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.009508, allocations: 39.7 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.009585, allocations: 91.17 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000588/0.01017, allocations: 0.4962 MB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.01028, allocations: 162.8 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01038, allocations: 182.2 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.01057, allocations: 336.1 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01057, allocations: 4 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003604/0.01093, allocations: 495.1 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.01099, allocations: 118.8 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.011, allocations: 4 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01101, allocations: 4.031 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.81e-05/0.01102, allocations: 0 / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.01103, allocations: 0 / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.01112, allocations: 20.11 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.01116, allocations: 43.94 kB / 277.7 MB, free: 12.05 MB / 266.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.0002279/0.01139, allocations: 385.3 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.01143, allocations: 51.7 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.0115, allocations: 59.08 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01151, allocations: 0 / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01151, allocations: 4 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01151, allocations: 0 / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.01222, allocations: 0.9555 MB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01222, allocations: 0 / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.01223, allocations: 0 / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01223, allocations: 0 / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01225, allocations: 16 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01225, allocations: 0 / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01225, allocations: 0 / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.01267, allocations: 0.6957 MB / 279.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.01288, allocations: 177.5 kB / 280 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.01292, allocations: 12 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.013, allocations: 19.98 kB / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.01307, allocations: 27.89 kB / 280.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.01311, allocations: 47.94 kB / 280.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003304/0.01344, allocations: 426.7 kB / 280.6 MB, free: 9 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01344, allocations: 0 / 280.6 MB, free: 9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.01363, allocations: 51.89 kB / 280.6 MB, free: 8.949 MB / 266.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 9.568e-05/0.01373, allocations: 119 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.0141, allocations: 0.6005 MB / 281.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0141, allocations: 0 / 281.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.0143, allocations: 420 kB / 281.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.01468, allocations: 137.9 kB / 281.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.01544, allocations: 0.7447 MB / 282.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.01552, allocations: 99.25 kB / 282.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01555, allocations: 4.734 kB / 282.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.01558, allocations: 24.56 kB / 282.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01558, allocations: 0 / 282.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of Templates: time 0.006585/0.02217, allocations: 5.189 MB / 287.9 MB, free: 1.395 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] 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","",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.7790971430949867]