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.001486/0.00149, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.001809, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 60.88 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00432/0.1409, allocations: 1.525 MB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1435, allocations: 0.8982 MB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1437, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1439, allocations: 3.938 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1442, allocations: 19.8 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.1446, allocations: 47.88 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.145, allocations: 155.7 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1452, allocations: 15.98 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.1458, allocations: 383.3 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.146, allocations: 63.75 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.146, allocations: 8 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.1461, allocations: 12 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1462, allocations: 63.7 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1464, allocations: 119.2 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.1468, allocations: 354.7 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1469, allocations: 0 / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1469, allocations: 4 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1469, allocations: 0 / 361.2 MB, free: 10.35 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.001129/0.148, allocations: 0.7191 MB / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1481, allocations: 8.031 kB / 361.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.1481, allocations: 42.75 kB / 362 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.1482, allocations: 44.41 kB / 362 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1486, allocations: 278.3 kB / 362.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1486, allocations: 4.375 kB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1486, allocations: 8.375 kB / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.149, allocations: 125.7 kB / 362.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.149, allocations: 0 / 362.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.149, allocations: 11.94 kB / 362.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.149, allocations: 0 / 362.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1492, allocations: 51.97 kB / 362.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.1499, allocations: 472.5 kB / 363 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1501, allocations: 94.48 kB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1503, allocations: 84.89 kB / 363.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.1503, allocations: 0 / 363.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.1507, allocations: 213.3 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.1507, allocations: 0 / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007814/0.1515, allocations: 467.9 kB / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.1516, allocations: 166.2 kB / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.1523, allocations: 0.5207 MB / 364.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1523, allocations: 33.69 kB / 364.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1524, allocations: 93.14 kB / 364.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1524, allocations: 31.64 kB / 364.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1526, allocations: 85.33 kB / 364.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1527, allocations: 326.8 kB / 365 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1529, allocations: 55.97 kB / 365.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.153, allocations: 81.59 kB / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1533, allocations: 335.3 kB / 365.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1534, allocations: 0 / 365.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005189/0.1539, allocations: 384.3 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.98e-05/0.154, allocations: 126.8 kB / 366 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.154, allocations: 4 kB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.154, allocations: 0 / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/0.1541, allocations: 0 / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1541, allocations: 112 / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1542, allocations: 19.92 kB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.1543, allocations: 40 kB / 366.1 MB, free: 5.07 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.0003382/0.1546, allocations: 366.2 kB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1547, allocations: 43.53 kB / 366.5 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.1548, allocations: 63.14 kB / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1548, allocations: 0 / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1548, allocations: 0 / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1548, allocations: 3.984 kB / 366.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.1557, allocations: 0.825 MB / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1558, allocations: 0 / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-06/0.1558, allocations: 0 / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1558, allocations: 0 / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.1558, allocations: 12 kB / 367.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1558, allocations: 8 kB / 367.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1558, allocations: 7.922 kB / 367.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.1565, allocations: 0.5212 MB / 367.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.1568, allocations: 244.5 kB / 368.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.1569, allocations: 12 kB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.157, allocations: 11.94 kB / 368.2 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.1572, allocations: 27.91 kB / 368.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.1572, allocations: 51.92 kB / 368.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004748/0.1577, allocations: 390.9 kB / 368.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1577, allocations: 0 / 368.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.158, allocations: 47.94 kB / 368.7 MB, free: 2.281 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.00106/0.1591, allocations: 1.07 MB / 369.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.1596, allocations: 441.5 kB / 370.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1596, allocations: 0 / 370.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.16, allocations: 377.6 kB / 370.5 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.1607, allocations: 127.1 kB / 370.7 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1971/0.3578, allocations: 2.735 MB / 373.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3582, allocations: 0.8031 MB / 374.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.3583, allocations: 10.05 kB / 374.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.3583, allocations: 27.45 kB / 374.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3583, allocations: 0 / 374.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3873, allocations: 5.885 MB / 380.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.719, allocations: 1.344 kB / 380.1 MB, free: 17.62 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