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/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_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_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.001088/0.001088, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 223.8 MB, free: 8.473 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.000916/0.0009161, allocations: 103.6 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008301/0.0008302, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2062, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002454/0.2087, allocations: 1.564 MB / 375.4 MB, free: 44.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2102, allocations: 0.9178 MB / 376.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.2103, allocations: 0 / 376.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.52e-05/0.2104, allocations: 9.141 kB / 376.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.2105, allocations: 11.41 kB / 376.3 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2107, allocations: 44.33 kB / 376.4 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2109, allocations: 116.8 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.211, allocations: 33.47 kB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.2114, allocations: 379.8 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2116, allocations: 71.31 kB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.2116, allocations: 4.375 kB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.2117, allocations: 9.125 kB / 377 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.2117, allocations: 61.39 kB / 377 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2119, allocations: 108.6 kB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2121, allocations: 351.4 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2121, allocations: 4 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2121, allocations: 1.156 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2121, allocations: 0 / 377.5 MB, free: 43.16 MB / 298.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.0006109/0.2128, allocations: 0.7237 MB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2128, allocations: 10.03 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.2129, allocations: 34.69 kB / 378.2 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2131, allocations: 273.4 kB / 378.5 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2131, allocations: 5.75 kB / 378.5 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2132, allocations: 11.16 kB / 378.5 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2134, allocations: 131.2 kB / 378.7 MB, free: 42.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2134, allocations: 0 / 378.7 MB, free: 42.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2135, allocations: 8.453 kB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2135, allocations: 1.219 kB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2136, allocations: 60.09 kB / 378.7 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.2141, allocations: 453.8 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2143, allocations: 102.7 kB / 379.3 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2144, allocations: 80.33 kB / 379.3 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.2144, allocations: 1.625 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.2147, allocations: 199 kB / 379.5 MB, free: 41.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2147, allocations: 1.062 kB / 379.5 MB, free: 41.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000636/0.2153, allocations: 469.9 kB / 380 MB, free: 41.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2154, allocations: 172.5 kB / 380.2 MB, free: 40.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.216, allocations: 0.513 MB / 380.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.216, allocations: 30.5 kB / 380.7 MB, free: 40.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.2161, allocations: 109.1 kB / 380.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.2161, allocations: 26.67 kB / 380.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2162, allocations: 81.09 kB / 380.9 MB, free: 40.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.2163, allocations: 325.5 kB / 381.2 MB, free: 40 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2164, allocations: 62.47 kB / 381.3 MB, free: 39.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2165, allocations: 70.91 kB / 381.4 MB, free: 39.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2167, allocations: 344.3 kB / 381.7 MB, free: 39.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2167, allocations: 0 / 381.7 MB, free: 39.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004719/0.2172, allocations: 384.5 kB / 382.1 MB, free: 39.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.2173, allocations: 120.7 kB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2173, allocations: 1.438 kB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2173, allocations: 5.312 kB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.2173, allocations: 3.984 kB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2174, allocations: 1.281 kB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2175, allocations: 21.66 kB / 382.2 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.2176, allocations: 39.62 kB / 382.3 MB, free: 39.2 MB / 298.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.0002446/0.2178, allocations: 369.2 kB / 382.6 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.2179, allocations: 39.64 kB / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.218, allocations: 63.28 kB / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.218, allocations: 9.125 kB / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.218, allocations: 0 / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.218, allocations: 1.5 kB / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.2188, allocations: 0.8136 MB / 383.6 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2188, allocations: 0 / 383.6 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.2188, allocations: 1.625 kB / 383.6 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2188, allocations: 0 / 383.6 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.2189, allocations: 17.45 kB / 383.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2189, allocations: 0 / 383.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2189, allocations: 5.594 kB / 383.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.2198, allocations: 1.184 MB / 384.8 MB, free: 37.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.2201, allocations: 248.5 kB / 385 MB, free: 36.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.2201, allocations: 10.75 kB / 385 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2203, allocations: 8.75 kB / 385 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.2204, allocations: 30.62 kB / 385.1 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.2204, allocations: 49.98 kB / 385.1 MB, free: 36.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.2208, allocations: 390.3 kB / 385.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2208, allocations: 0 / 385.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.2212, allocations: 41.91 kB / 385.5 MB, free: 36.61 MB / 298.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.0001114/0.2213, allocations: 120.5 kB / 385.7 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.2217, allocations: 432.5 kB / 386.1 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2217, allocations: 0 / 386.1 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.222, allocations: 374.3 kB / 386.4 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.2225, allocations: 116.4 kB / 386.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2236, allocations: 0.9078 MB / 387.5 MB, free: 35.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.2238, allocations: 0.8026 MB / 388.3 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.2239, allocations: 8.656 kB / 388.3 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.2239, allocations: 11.44 kB / 388.3 MB, free: 34.23 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2239, allocations: 0 / 388.3 MB, free: 34.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005633/0.2296, allocations: 4.382 MB / 392.7 MB, free: 29.82 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches