Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 199.7 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007348/0.0007348, allocations: 101.5 kB / 299.9 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002417, allocations: 8 kB / 360.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 51.42 MB / 412.1 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001229/0.2167, allocations: 1.217 MB / 413.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2181, allocations: 1.319 MB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.2181, allocations: 4 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.2182, allocations: 3.938 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.2183, allocations: 21.25 kB / 414.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2185, allocations: 43.95 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2186, allocations: 115.7 kB / 414.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.2187, allocations: 22.56 kB / 414.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.219, allocations: 383.2 kB / 415.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.2191, allocations: 67.69 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.2191, allocations: 7.375 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.2192, allocations: 7.938 kB / 415.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.2193, allocations: 59.77 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.2194, allocations: 132.8 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.2196, allocations: 346.8 kB / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2196, allocations: 0 / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2196, allocations: 0 / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2196, allocations: 0 / 415.8 MB, free: 22.02 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.0004355/0.2201, allocations: 0.6556 MB / 416.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2201, allocations: 11.97 kB / 416.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.2202, allocations: 40.47 kB / 416.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2204, allocations: 274.3 kB / 416.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2204, allocations: 8.375 kB / 416.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2204, allocations: 12.38 kB / 416.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.2207, allocations: 129.8 kB / 416.9 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2207, allocations: 0 / 416.9 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2207, allocations: 4 kB / 416.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2207, allocations: 0 / 416.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.2209, allocations: 55.97 kB / 417 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.2213, allocations: 464.6 kB / 417.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2215, allocations: 98.48 kB / 417.5 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2216, allocations: 80.89 kB / 417.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.2216, allocations: 0 / 417.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.2219, allocations: 206.6 kB / 417.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2219, allocations: 0 / 417.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000599/0.2225, allocations: 464.3 kB / 418.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2226, allocations: 166.2 kB / 418.4 MB, free: 19.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.223, allocations: 0.513 MB / 418.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2231, allocations: 29.7 kB / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.2231, allocations: 105 kB / 419 MB, free: 18.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2231, allocations: 27.7 kB / 419.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.2231, allocations: 4 kB / 419.1 MB, free: 18.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.2232, allocations: 330.8 kB / 419.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2233, allocations: 55.91 kB / 419.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2234, allocations: 73.69 kB / 419.5 MB, free: 17.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2237, allocations: 343.3 kB / 419.9 MB, free: 17.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2237, allocations: 0 / 419.9 MB, free: 17.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003938/0.2241, allocations: 380.4 kB / 420.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.2241, allocations: 118.8 kB / 420.4 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2242, allocations: 8.031 kB / 420.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2242, allocations: 3.938 kB / 420.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.741e-05/0.2242, allocations: 112 / 420.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2242, allocations: 3.938 kB / 420.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2244, allocations: 27.83 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.2244, allocations: 40 kB / 420.4 MB, free: 16.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.2246, allocations: 366.2 kB / 420.8 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2247, allocations: 35.62 kB / 420.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.2248, allocations: 79.06 kB / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2248, allocations: 4.125 kB / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2248, allocations: 4 kB / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2248, allocations: 0 / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.2255, allocations: 0.8055 MB / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2255, allocations: 0 / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.2255, allocations: 0 / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2255, allocations: 0 / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.2255, allocations: 19.98 kB / 421.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2255, allocations: 4 kB / 421.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2255, allocations: 3.938 kB / 421.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.226, allocations: 0.5251 MB / 422.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.2262, allocations: 244.4 kB / 422.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.2263, allocations: 12 kB / 422.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2264, allocations: 11.98 kB / 422.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.2265, allocations: 27.92 kB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.2266, allocations: 47.92 kB / 422.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003341/0.2269, allocations: 386.9 kB / 423 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2269, allocations: 0 / 423 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.2272, allocations: 40 kB / 423 MB, free: 14.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.806e-05/0.2273, allocations: 123 kB / 423.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.2277, allocations: 433.5 kB / 423.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2277, allocations: 0 / 423.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2279, allocations: 385.6 kB / 423.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.2284, allocations: 110.3 kB / 424 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.2293, allocations: 0.7622 MB / 424.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2295, allocations: 0.7986 MB / 425.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.2295, allocations: 8.656 kB / 425.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.2296, allocations: 11.44 kB / 425.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2296, allocations: 0 / 425.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.005178/0.2347, allocations: 3.979 MB / 429.6 MB, free: 7.422 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches