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.0007953/0.0007954, allocations: 93.78 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009622/0.0009622, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 227.7 MB / 246.8 MB, free: 9.539 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002062/0.0002063, allocations: 8 kB / 307.8 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08077, allocations: 51.52 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001474/0.08228, allocations: 1.241 MB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.08387, allocations: 0.9007 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.08393, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.561e-05/0.084, allocations: 7.922 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.08408, allocations: 23.84 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.08429, allocations: 35.97 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.08443, allocations: 119.7 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.08452, allocations: 16 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.08492, allocations: 387.2 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.08503, allocations: 63.7 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.08506, allocations: 4 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.08509, allocations: 4 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.08517, allocations: 59.7 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.08529, allocations: 132.9 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.08556, allocations: 342.6 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08557, allocations: 0 / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08558, allocations: 4 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.08559, allocations: 0 / 362.7 MB, free: 9.617 MB / 302.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.0005791/0.08617, allocations: 0.6648 MB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.08621, allocations: 8.031 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.08626, allocations: 38.75 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.08633, allocations: 44.39 kB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.08657, allocations: 274.3 kB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.08659, allocations: 4.375 kB / 363.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.08662, allocations: 12.38 kB / 363.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.0869, allocations: 133.7 kB / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.08691, allocations: 0 / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.08694, allocations: 4 kB / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.08695, allocations: 4 kB / 363.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.08708, allocations: 55.97 kB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.08764, allocations: 452.5 kB / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.08782, allocations: 102.5 kB / 364.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.08796, allocations: 84.88 kB / 364.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.08797, allocations: 0 / 364.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.08826, allocations: 202.7 kB / 364.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.08828, allocations: 0 / 364.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006912/0.08897, allocations: 472 kB / 365.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.08906, allocations: 170.2 kB / 365.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.08962, allocations: 0.5207 MB / 365.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.08966, allocations: 29.7 kB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.08972, allocations: 97.14 kB / 366 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.08976, allocations: 31.64 kB / 366 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.0898, allocations: 25.7 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.08991, allocations: 326.8 kB / 366.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.09003, allocations: 51.97 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.09016, allocations: 81.62 kB / 366.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.09046, allocations: 342.8 kB / 366.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.09047, allocations: 0 / 366.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004729/0.09095, allocations: 380.2 kB / 367.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.09103, allocations: 122.8 kB / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.09104, allocations: 0 / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.09106, allocations: 3.984 kB / 367.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.527e-05/0.09108, allocations: 4.031 kB / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.09109, allocations: 4.188 kB / 367.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.09124, allocations: 19.92 kB / 367.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.0913, allocations: 43.98 kB / 367.4 MB, free: 4.457 MB / 302.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.0002977/0.0916, allocations: 366.1 kB / 367.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.09165, allocations: 39.53 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.09175, allocations: 67.14 kB / 367.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.09176, allocations: 0 / 367.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.09177, allocations: 4 kB / 367.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.09178, allocations: 0 / 367.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.0926, allocations: 0.8171 MB / 368.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.09261, allocations: 0 / 368.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.09262, allocations: 7.938 kB / 368.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.09263, allocations: 0 / 368.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.09266, allocations: 15.98 kB / 368.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.09267, allocations: 0 / 368.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.09267, allocations: 3.938 kB / 368.7 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.09324, allocations: 0.5252 MB / 369.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.09351, allocations: 244.4 kB / 369.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.09357, allocations: 12 kB / 369.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.09371, allocations: 15.92 kB / 369.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.0938, allocations: 27.92 kB / 369.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.09385, allocations: 43.92 kB / 369.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.09424, allocations: 386.9 kB / 369.9 MB, free: 1.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09425, allocations: 4 kB / 369.9 MB, free: 1.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.09452, allocations: 44 kB / 370 MB, free: 1.672 MB / 302.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.0008168/0.09534, allocations: 1.093 MB / 371.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.0958, allocations: 429.5 kB / 371.5 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.09582, allocations: 4.062 kB / 371.5 MB, free: 60 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1342/0.2301, allocations: 371.1 kB / 371.9 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.2308, allocations: 118.1 kB / 372 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.2337, allocations: 2.798 MB / 374.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2339, allocations: 0.8015 MB / 375.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.234, allocations: 11.64 kB / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.234, allocations: 24.75 kB / 375.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.234, allocations: 0 / 375.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.2483, allocations: 5.199 MB / 380.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001094/0.2484, allocations: 189.7 kB / 381 MB, free: 15.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.897, allocations: 7.938 kB / 381 MB, free: 15.66 MB / 302.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) Reference file matches