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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 176.6 kB / 16.72 MB, free: 5.082 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.331/1.331, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006719/0.0006719, allocations: 86.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 47.57 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001105/0.2234, allocations: 1.209 MB / 376.4 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2246, allocations: 0.8543 MB / 377.2 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.2247, allocations: 0 / 377.2 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.2248, allocations: 5.125 kB / 377.2 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.2248, allocations: 15.16 kB / 377.3 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.225, allocations: 36.55 kB / 377.3 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2252, allocations: 110.7 kB / 377.4 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.2253, allocations: 21.67 kB / 377.4 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.2257, allocations: 349.3 kB / 377.8 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.2258, allocations: 69.55 kB / 377.8 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.2258, allocations: 3.188 kB / 377.8 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.499e-05/0.2258, allocations: 4.062 kB / 377.8 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2259, allocations: 68.59 kB / 377.9 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.226, allocations: 128.6 kB / 378 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2262, allocations: 277.5 kB / 378.3 MB, free: 43.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2262, allocations: 5.281 kB / 378.3 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2262, allocations: 0 / 378.3 MB, free: 43.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.2263, allocations: 0 / 378.3 MB, free: 43.22 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.0004456/0.2267, allocations: 0.6664 MB / 379 MB, free: 42.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2267, allocations: 8.406 kB / 379 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.2268, allocations: 39.97 kB / 379 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.2269, allocations: 34.78 kB / 379.1 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2271, allocations: 277.6 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2271, allocations: 9.656 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.2271, allocations: 7.094 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.2274, allocations: 135.4 kB / 379.5 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2274, allocations: 0 / 379.5 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2275, allocations: 3.375 kB / 379.5 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2275, allocations: 1 kB / 379.5 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2276, allocations: 56.78 kB / 379.5 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.2281, allocations: 470.3 kB / 380 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2283, allocations: 90.42 kB / 380.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.2284, allocations: 79.08 kB / 380.2 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2284, allocations: 5.125 kB / 380.2 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.2288, allocations: 203.6 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.2288, allocations: 1.219 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009498/0.2298, allocations: 469 kB / 380.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2298, allocations: 168.7 kB / 381 MB, free: 40.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.2303, allocations: 0.5138 MB / 381.5 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2303, allocations: 33.33 kB / 381.5 MB, free: 40.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.2304, allocations: 104.8 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2304, allocations: 27.42 kB / 381.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.2304, allocations: 3.5 kB / 381.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.2305, allocations: 329.4 kB / 382 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2306, allocations: 62.72 kB / 382.1 MB, free: 40.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2307, allocations: 74.8 kB / 382.1 MB, free: 40.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.231, allocations: 343 kB / 382.5 MB, free: 39.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.231, allocations: 0 / 382.5 MB, free: 39.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000437/0.2314, allocations: 367.6 kB / 382.8 MB, free: 39.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.2315, allocations: 130.2 kB / 382.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2315, allocations: 0.9688 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2315, allocations: 5.188 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.929e-05/0.2316, allocations: 5.188 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2316, allocations: 0 / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2317, allocations: 19.86 kB / 383 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.2318, allocations: 43.17 kB / 383 MB, free: 39.29 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,$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.0002538/0.2321, allocations: 360.1 kB / 383.4 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.2321, allocations: 36.06 kB / 383.4 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.2322, allocations: 62.94 kB / 383.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2322, allocations: 5.062 kB / 383.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2322, allocations: 5.438 kB / 383.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2323, allocations: 7.969 kB / 383.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.233, allocations: 0.8166 MB / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.2331, allocations: 0 / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.2331, allocations: 1.094 kB / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2331, allocations: 0 / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2331, allocations: 9.969 kB / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2331, allocations: 1.125 kB / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2331, allocations: 7.938 kB / 384.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.2336, allocations: 0.5227 MB / 384.8 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.2339, allocations: 235.9 kB / 385.1 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.2339, allocations: 16.39 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2341, allocations: 13.34 kB / 385.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.2342, allocations: 34.09 kB / 385.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.2342, allocations: 45.55 kB / 385.2 MB, free: 37.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003809/0.2346, allocations: 395.6 kB / 385.6 MB, free: 37.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.2346, allocations: 0 / 385.6 MB, free: 37.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.2349, allocations: 46.47 kB / 385.6 MB, free: 37.33 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 (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.0007105/0.2356, allocations: 1.075 MB / 386.7 MB, free: 36.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.236, allocations: 439.7 kB / 387.1 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.236, allocations: 0 / 387.1 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2363, allocations: 380.2 kB / 387.5 MB, free: 35.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.2368, allocations: 109.4 kB / 387.6 MB, free: 35.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2386, allocations: 1.607 MB / 389.2 MB, free: 33.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2389, allocations: 0.7992 MB / 390 MB, free: 33.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2389, allocations: 27.42 kB / 390 MB, free: 33.03 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2389, allocations: 0 / 390 MB, free: 33.03 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.512/3.751, allocations: 2.323 MB / 392.4 MB, free: 30.71 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_INV3S.fmu > 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