Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009558/0.0009559, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 244.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008104/0.0008108, allocations: 107.8 kB / 296.7 MB, free: 6.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002329, allocations: 11.98 kB / 356.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1955, allocations: 51.29 MB / 408.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001247/0.1968, allocations: 1.213 MB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1982, allocations: 0.8366 MB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.1982, allocations: 5.125 kB / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.052e-05/0.1983, allocations: 7.922 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.1984, allocations: 9.219 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1986, allocations: 39.94 kB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1987, allocations: 107.7 kB / 410.3 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.1988, allocations: 22.02 kB / 410.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1992, allocations: 347.4 kB / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1993, allocations: 75.81 kB / 410.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.1993, allocations: 5.438 kB / 410.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.89e-05/0.1994, allocations: 4 kB / 410.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1995, allocations: 67.7 kB / 410.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1996, allocations: 125 kB / 411 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1998, allocations: 284.2 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1998, allocations: 4 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1998, allocations: 4.719 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1998, allocations: 0 / 411.3 MB, free: 24.5 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.0004705/0.2003, allocations: 0.6547 MB / 411.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2003, allocations: 9.062 kB / 411.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.2004, allocations: 38.75 kB / 412 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.2004, allocations: 45.2 kB / 412 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2006, allocations: 274.3 kB / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2007, allocations: 10.62 kB / 412.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2007, allocations: 8.375 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.201, allocations: 125.7 kB / 412.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.201, allocations: 0 / 412.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.201, allocations: 4 kB / 412.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.201, allocations: 0 / 412.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.2011, allocations: 61.2 kB / 412.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.2016, allocations: 466.1 kB / 412.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.2018, allocations: 94.55 kB / 413 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2019, allocations: 84.92 kB / 413.1 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.202, allocations: 4 kB / 413.1 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.2022, allocations: 202.5 kB / 413.3 MB, free: 22.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2022, allocations: 0 / 413.3 MB, free: 22.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006343/0.2029, allocations: 464 kB / 413.8 MB, free: 21.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2029, allocations: 170.2 kB / 413.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.2034, allocations: 0.5206 MB / 414.5 MB, free: 21.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2034, allocations: 33.7 kB / 414.5 MB, free: 20.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2035, allocations: 93.14 kB / 414.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.2035, allocations: 31.64 kB / 414.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.2035, allocations: 4 kB / 414.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.2036, allocations: 330.8 kB / 414.9 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2037, allocations: 51.97 kB / 415 MB, free: 20.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.2038, allocations: 73.69 kB / 415.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.2041, allocations: 344.7 kB / 415.4 MB, free: 20.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2041, allocations: 0 / 415.4 MB, free: 20.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003882/0.2045, allocations: 372.4 kB / 415.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.2045, allocations: 126.8 kB / 415.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2046, allocations: 4 kB / 415.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2046, allocations: 4 kB / 415.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.2046, allocations: 0 / 415.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2046, allocations: 11.95 kB / 415.9 MB, free: 19.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.2048, allocations: 23.78 kB / 415.9 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.2048, allocations: 36 kB / 416 MB, free: 19.39 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.0002292/0.2051, allocations: 366.2 kB / 416.3 MB, free: 18.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.2051, allocations: 35.62 kB / 416.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.2052, allocations: 71.12 kB / 416.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2052, allocations: 0 / 416.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2052, allocations: 4 kB / 416.4 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2052, allocations: 4 kB / 416.4 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.2059, allocations: 0.8088 MB / 417.2 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2059, allocations: 3.938 kB / 417.2 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.2059, allocations: 0 / 417.2 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2059, allocations: 3.938 kB / 417.2 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.206, allocations: 11.98 kB / 417.3 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.206, allocations: 4 kB / 417.3 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.206, allocations: 3.938 kB / 417.3 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.2064, allocations: 0.5291 MB / 417.8 MB, free: 17.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.2067, allocations: 240.4 kB / 418 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.2067, allocations: 12 kB / 418 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2069, allocations: 11.98 kB / 418.1 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.207, allocations: 31.91 kB / 418.1 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.207, allocations: 39.94 kB / 418.1 MB, free: 17.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003307/0.2073, allocations: 390.8 kB / 418.5 MB, free: 16.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2074, allocations: 8 kB / 418.5 MB, free: 16.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.2076, allocations: 44 kB / 418.6 MB, free: 16.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 (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.0006545/0.2083, allocations: 1.078 MB / 419.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.2086, allocations: 437.5 kB / 420.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2086, allocations: 64 / 420.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2089, allocations: 385.6 kB / 420.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.2094, allocations: 109.2 kB / 420.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2114, allocations: 1.593 MB / 422.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2116, allocations: 0.8064 MB / 422.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.2117, allocations: 27.38 kB / 423 MB, free: 11.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2117, allocations: 0 / 423 MB, free: 11.96 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.979/3.191, allocations: 2.326 MB / 425.3 MB, free: 9.641 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches