Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 117.7 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 200.6 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002636/0.2688, allocations: 1.525 MB / 410.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2708, allocations: 0.8848 MB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.2709, allocations: 0 / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.271, allocations: 3.938 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.2711, allocations: 27.78 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.2714, allocations: 43.89 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.2716, allocations: 155.7 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2718, allocations: 19.97 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.2722, allocations: 391.2 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2723, allocations: 71.77 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.2724, allocations: 8 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-05/0.2724, allocations: 12 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.2725, allocations: 71.67 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2726, allocations: 111.2 kB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.2729, allocations: 354.8 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2729, allocations: 0 / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.273, allocations: 0 / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.273, allocations: 0 / 412.4 MB, free: 13.9 MB / 334.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.0007111/0.2737, allocations: 0.7282 MB / 413.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2737, allocations: 12.03 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.2738, allocations: 38.75 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.2738, allocations: 36.56 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2741, allocations: 278.2 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2741, allocations: 8.375 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.2742, allocations: 4.375 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2744, allocations: 133.1 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2745, allocations: 3.938 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2745, allocations: 8 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2745, allocations: 4 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2746, allocations: 55.97 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.2753, allocations: 464.5 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2755, allocations: 90.55 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2757, allocations: 80.89 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2757, allocations: 7.984 kB / 414.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.276, allocations: 206 kB / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.276, allocations: 0 / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007619/0.2768, allocations: 467.9 kB / 415 MB, free: 11.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2769, allocations: 162.2 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.2776, allocations: 0.513 MB / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2776, allocations: 33.69 kB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.2777, allocations: 101 kB / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.2777, allocations: 35.64 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2779, allocations: 77.42 kB / 415.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.278, allocations: 326.8 kB / 416.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2781, allocations: 52.03 kB / 416.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2782, allocations: 85.61 kB / 416.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.2786, allocations: 339.4 kB / 416.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2786, allocations: 11.88 kB / 416.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005036/0.2791, allocations: 379.9 kB / 417.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.2792, allocations: 129.8 kB / 417.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2792, allocations: 80 / 417.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2792, allocations: 0 / 417.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.482e-05/0.2793, allocations: 4 kB / 417.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2793, allocations: 3.984 kB / 417.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2794, allocations: 19.92 kB / 417.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.2795, allocations: 40 kB / 417.3 MB, free: 8.617 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.0003179/0.2798, allocations: 374.1 kB / 417.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.2799, allocations: 31.62 kB / 417.7 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/0.28, allocations: 67.16 kB / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.28, allocations: 0 / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.28, allocations: 0 / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.28, allocations: 3.984 kB / 417.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009201/0.2809, allocations: 0.8055 MB / 418.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2809, allocations: 0 / 418.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.281, allocations: 3.938 kB / 418.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.281, allocations: 11.98 kB / 418.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.281, allocations: 12 kB / 418.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.281, allocations: 0 / 418.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.281, allocations: 11.86 kB / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.2816, allocations: 0.5175 MB / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.2819, allocations: 248.4 kB / 419.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.282, allocations: 12 kB / 419.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2821, allocations: 12 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.2822, allocations: 28.09 kB / 419.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.2822, allocations: 47.94 kB / 419.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004145/0.2827, allocations: 390.9 kB / 419.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.2827, allocations: 0 / 419.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.283, allocations: 43.94 kB / 419.9 MB, free: 5.848 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.0009122/0.2839, allocations: 1.082 MB / 420.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.2844, allocations: 441.5 kB / 421.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2844, allocations: 0 / 421.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.2847, allocations: 373.6 kB / 421.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.2854, allocations: 130.3 kB / 421.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.2885, allocations: 2.744 MB / 424.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.2889, allocations: 0.8022 MB / 425.4 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.289, allocations: 12.64 kB / 425.4 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.289, allocations: 31.45 kB / 425.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.289, allocations: 0 / 425.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3122, allocations: 6.002 MB / 431.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.947, allocations: 11.77 kB / 431.5 MB, free: 10 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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