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.001982/0.001982, allocations: 81.42 kB / 21.99 MB, free: 5.18 MB / 14.72 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.002365/0.002365, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.325/1.325, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 56.44 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2105, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003081/0.2136, allocations: 1.475 MB / 350 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2156, allocations: 0.8522 MB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2157, allocations: 0 / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.805e-05/0.2158, allocations: 11.92 kB / 350.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.2158, allocations: 27.78 kB / 350.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2161, allocations: 47.89 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.2163, allocations: 135.7 kB / 351.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.2164, allocations: 19.97 kB / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.217, allocations: 387.3 kB / 351.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2171, allocations: 67.69 kB / 351.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.2172, allocations: 12 kB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.2172, allocations: 8 kB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.2173, allocations: 67.7 kB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2175, allocations: 83.34 kB / 351.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.2179, allocations: 368.7 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2179, allocations: 0 / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2179, allocations: 0 / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.218, allocations: 0 / 352 MB, free: 11.96 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.0008382/0.2188, allocations: 0.663 MB / 352.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2188, allocations: 15.98 kB / 352.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.2189, allocations: 40.64 kB / 352.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2192, allocations: 212.9 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2192, allocations: 4.375 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2192, allocations: 8.375 kB / 353 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.2196, allocations: 248.7 kB / 353.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2196, allocations: 4 kB / 353.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2196, allocations: 8 kB / 353.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2196, allocations: 0 / 353.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.2199, allocations: 182.7 kB / 353.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.2205, allocations: 388.2 kB / 353.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.2208, allocations: 197.3 kB / 354 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.221, allocations: 179.6 kB / 354.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-06/0.221, allocations: 112 / 354.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004597/0.2215, allocations: 325.4 kB / 354.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2215, allocations: 4 kB / 354.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001073/0.2225, allocations: 0.7049 MB / 355.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.2227, allocations: 170.2 kB / 355.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.2234, allocations: 0.5207 MB / 355.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2234, allocations: 29.7 kB / 355.9 MB, free: 7.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.2235, allocations: 97.14 kB / 356 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.2235, allocations: 31.8 kB / 356 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2236, allocations: 77.56 kB / 356.1 MB, free: 7.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2238, allocations: 326.8 kB / 356.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.224, allocations: 178.8 kB / 356.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2242, allocations: 192.5 kB / 356.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.2246, allocations: 363.6 kB / 357.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2246, allocations: 0 / 357.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006641/0.2253, allocations: 0.4952 MB / 357.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2254, allocations: 126.8 kB / 357.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2254, allocations: 0 / 357.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2254, allocations: 0 / 357.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.2255, allocations: 7.984 kB / 357.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2255, allocations: 0 / 357.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.2256, allocations: 12.03 kB / 357.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.2257, allocations: 43.98 kB / 357.8 MB, free: 5.555 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.0004023/0.2261, allocations: 362.5 kB / 358.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.2261, allocations: 43.75 kB / 358.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2262, allocations: 67.08 kB / 358.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2263, allocations: 0 / 358.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2263, allocations: 128 / 358.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2263, allocations: 7.938 kB / 358.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.2274, allocations: 0.8704 MB / 359.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2274, allocations: 0 / 359.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.2274, allocations: 4 kB / 359.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2274, allocations: 4 kB / 359.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.2274, allocations: 15.98 kB / 359.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2274, allocations: 3.938 kB / 359.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2274, allocations: 0 / 359.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.2283, allocations: 0.6531 MB / 359.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.2287, allocations: 205.4 kB / 360 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.2287, allocations: 8 kB / 360.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2289, allocations: 19.92 kB / 360.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.229, allocations: 19.98 kB / 360.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.229, allocations: 47.92 kB / 360.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005204/0.2296, allocations: 390.9 kB / 360.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2296, allocations: 0 / 360.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2299, allocations: 51.94 kB / 360.6 MB, free: 2.613 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.0001572/0.23, allocations: 115 kB / 360.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007275/0.2308, allocations: 0.6046 MB / 361.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2308, allocations: 0 / 361.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.2312, allocations: 428.3 kB / 361.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.2318, allocations: 137.2 kB / 361.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.233, allocations: 0.7769 MB / 362.6 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2333, allocations: 194.3 kB / 362.8 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.885e-05/0.2334, allocations: 8.719 kB / 362.8 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.2334, allocations: 12.5 kB / 362.8 MB, free: 104 kB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2334, allocations: 0 / 362.8 MB, free: 104 kB / 318.1 MB Notification: Performance of Templates: time 0.009366/0.2428, allocations: 4.954 MB / 367.8 MB, free: 11.09 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2351465850370005]