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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 105.2 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 196 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009424/0.0009424, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2575, allocations: 49.42 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002611/0.2601, allocations: 1.517 MB / 401.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2618, allocations: 0.8502 MB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.18e-05/0.2619, allocations: 0 / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.262, allocations: 15.86 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.2621, allocations: 15.86 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2624, allocations: 51.89 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2626, allocations: 147.7 kB / 402.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.2627, allocations: 31.97 kB / 402.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.2631, allocations: 391.3 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2632, allocations: 67.64 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.2633, allocations: 8 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.2633, allocations: 15.94 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.2634, allocations: 63.77 kB / 403.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2635, allocations: 115.2 kB / 403.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.2638, allocations: 358.7 kB / 403.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2638, allocations: 4 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2638, allocations: 0 / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2638, allocations: 0 / 403.9 MB, free: 5.188 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.0006679/0.2645, allocations: 0.7204 MB / 404.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2645, allocations: 8.031 kB / 404.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2646, allocations: 42.73 kB / 404.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.2647, allocations: 40.56 kB / 404.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.265, allocations: 274.3 kB / 404.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.265, allocations: 8.375 kB / 404.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.265, allocations: 12.38 kB / 404.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.2653, allocations: 125.5 kB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2653, allocations: 3.938 kB / 405.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2654, allocations: 4 kB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2654, allocations: 0 / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2655, allocations: 59.95 kB / 405.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.2662, allocations: 452.5 kB / 405.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2664, allocations: 110.4 kB / 405.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.2666, allocations: 80.89 kB / 405.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2666, allocations: 3.984 kB / 405.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.267, allocations: 202.7 kB / 406 MB, free: 2.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.267, allocations: 0 / 406 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007994/0.2678, allocations: 472 kB / 406.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2679, allocations: 174.2 kB / 406.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.2685, allocations: 0.5169 MB / 407.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2686, allocations: 29.7 kB / 407.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2686, allocations: 105 kB / 407.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2687, allocations: 19.72 kB / 407.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2688, allocations: 81.41 kB / 407.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2689, allocations: 326.8 kB / 407.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2691, allocations: 59.97 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2692, allocations: 77.56 kB / 407.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2695, allocations: 339.3 kB / 408.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2695, allocations: 0 / 408.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000493/0.27, allocations: 380.2 kB / 408.5 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.2701, allocations: 122.8 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2701, allocations: 4 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2702, allocations: 0 / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.767e-05/0.2702, allocations: 4.031 kB / 408.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2702, allocations: 3.938 kB / 408.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2703, allocations: 19.89 kB / 408.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.2704, allocations: 36 kB / 408.7 MB, free: 15.91 MB / 334.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.0003027/0.2707, allocations: 362.2 kB / 409 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.2708, allocations: 35.62 kB / 409.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.2708, allocations: 67.14 kB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2709, allocations: 0 / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2709, allocations: 4 kB / 409.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2709, allocations: 0 / 409.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.2717, allocations: 0.8207 MB / 410 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2718, allocations: 4.109 kB / 410 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-06/0.2718, allocations: 7.938 kB / 410 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2718, allocations: 0 / 410 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2718, allocations: 11.98 kB / 410 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2718, allocations: 0 / 410 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2718, allocations: 7.938 kB / 410 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.2724, allocations: 0.5251 MB / 410.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.2727, allocations: 244.4 kB / 410.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.2728, allocations: 12 kB / 410.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2729, allocations: 11.98 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2731, allocations: 23.92 kB / 410.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.2731, allocations: 43.98 kB / 410.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004192/0.2735, allocations: 386.9 kB / 411.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2735, allocations: 0 / 411.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2738, allocations: 48 kB / 411.3 MB, free: 13.15 MB / 334.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.0008934/0.2747, allocations: 1.082 MB / 412.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.2752, allocations: 429.5 kB / 412.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2752, allocations: 0 / 412.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.2755, allocations: 381.6 kB / 413.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.2762, allocations: 130.8 kB / 413.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.2798, allocations: 2.768 MB / 416 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.2802, allocations: 0.7983 MB / 416.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.2803, allocations: 4.672 kB / 416.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.2804, allocations: 31.44 kB / 416.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2804, allocations: 0 / 416.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.973/4.253, allocations: 6.012 MB / 422.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/20.08, allocations: 7.844 kB / 422.9 MB, free: 1.316 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,iNV3S.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,iNV3S.enable,iNV3S.strength,iNV3S.tHL,iNV3S.tLH,iNV3S.x,iNV3S.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0