Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002659/0.002659, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.507/3.507, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006355, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.182, allocations: 47.59 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003353/0.1854, allocations: 1.195 MB / 375.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.1898, allocations: 0.8458 MB / 376.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.19, allocations: 0 / 376.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.1902, allocations: 7.922 kB / 376.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1903, allocations: 23.95 kB / 376.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1908, allocations: 35.84 kB / 376.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1911, allocations: 71.91 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1913, allocations: 19.98 kB / 376.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.1922, allocations: 295.4 kB / 377 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.1924, allocations: 71.81 kB / 377.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.1925, allocations: 4 kB / 377.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.1926, allocations: 8 kB / 377.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1928, allocations: 63.77 kB / 377.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.193, allocations: 73.52 kB / 377.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.1936, allocations: 283.3 kB / 377.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1936, allocations: 0 / 377.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1936, allocations: 0 / 377.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1937, allocations: 0 / 377.5 MB, free: 12.43 MB / 282.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.001526/0.1952, allocations: 0.6608 MB / 378.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.1953, allocations: 12.03 kB / 378.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1955, allocations: 35.53 kB / 378.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.1961, allocations: 269.2 kB / 378.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.1962, allocations: 8 kB / 378.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.1963, allocations: 8 kB / 378.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1969, allocations: 121.6 kB / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1969, allocations: 0 / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.197, allocations: 4 kB / 378.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.197, allocations: 4 kB / 378.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.1974, allocations: 59.95 kB / 378.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.199, allocations: 460.6 kB / 379.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.1995, allocations: 94.53 kB / 379.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1996, allocations: 0 / 379.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007223/0.2003, allocations: 210.7 kB / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.107e-06/0.2004, allocations: 4 kB / 379.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.002117/0.2025, allocations: 0.6155 MB / 380.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.2027, allocations: 166.2 kB / 380.2 MB, free: 9.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2044, allocations: 0.5129 MB / 380.7 MB, free: 8.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.2046, allocations: 37.69 kB / 380.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.2047, allocations: 167.4 kB / 380.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.2049, allocations: 27.66 kB / 381 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.2049, allocations: 4 kB / 381 MB, free: 8.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.2052, allocations: 322.8 kB / 381.3 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.2055, allocations: 59.97 kB / 381.3 MB, free: 8.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.2059, allocations: 69.69 kB / 381.4 MB, free: 8.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.2064, allocations: 162.8 kB / 381.6 MB, free: 8.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2064, allocations: 0 / 381.6 MB, free: 8.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001362/0.2078, allocations: 372.3 kB / 381.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.208, allocations: 122.8 kB / 382 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.208, allocations: 128 / 382 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.2081, allocations: 12.02 kB / 382.1 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.2081, allocations: 7.938 kB / 382.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2082, allocations: 0 / 382.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2086, allocations: 12 kB / 382.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.2088, allocations: 44.03 kB / 382.1 MB, free: 7.41 MB / 282.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009281/0.2097, allocations: 366.2 kB / 382.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.2099, allocations: 39.62 kB / 382.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2102, allocations: 59.16 kB / 382.6 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.2103, allocations: 4 kB / 382.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2103, allocations: 4 kB / 382.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2103, allocations: 0 / 382.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.2128, allocations: 0.8172 MB / 383.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.2128, allocations: 0 / 383.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.2129, allocations: 0 / 383.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.2129, allocations: 0 / 383.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.213, allocations: 11.98 kB / 383.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.213, allocations: 4 kB / 383.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.213, allocations: 4 kB / 383.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2148, allocations: 0.5294 MB / 384 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/0.2157, allocations: 240.4 kB / 384.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2159, allocations: 12 kB / 384.2 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.2163, allocations: 15.98 kB / 384.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.2166, allocations: 23.97 kB / 384.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.2167, allocations: 47.94 kB / 384.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.2181, allocations: 394.8 kB / 384.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.422e-06/0.2182, allocations: 0 / 384.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007736/0.2189, allocations: 43.94 kB / 384.7 MB, free: 4.645 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.2193, allocations: 119.1 kB / 384.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2205, allocations: 437.5 kB / 385.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.2206, allocations: 0 / 385.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.2214, allocations: 377.6 kB / 385.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.2227, allocations: 102.2 kB / 385.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.2257, allocations: 0.7756 MB / 386.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/0.2268, allocations: 0.8064 MB / 387.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2269, allocations: 15.38 kB / 387.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2269, allocations: 0 / 387.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of Templates: time 0.4046/0.6315, allocations: 2.512 MB / 389.8 MB, free: 20.02 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches