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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3277, allocations: 50.54 MB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003038/0.3308, allocations: 1.517 MB / 410.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3329, allocations: 0.8887 MB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.333, allocations: 0 / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.594e-05/0.3331, allocations: 7.875 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.3332, allocations: 19.86 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3335, allocations: 51.88 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.3337, allocations: 155.7 kB / 411.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3339, allocations: 23.97 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3345, allocations: 395.2 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3346, allocations: 67.77 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.3347, allocations: 8 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.3347, allocations: 12 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3349, allocations: 67.64 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3351, allocations: 107.2 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.3356, allocations: 358.7 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3356, allocations: 0 / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3356, allocations: 0 / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3356, allocations: 0 / 412.9 MB, free: 13.89 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.001003/0.3366, allocations: 0.7277 MB / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.3367, allocations: 12.03 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.3368, allocations: 32.56 kB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.3372, allocations: 278.3 kB / 413.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3372, allocations: 4.375 kB / 413.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.3373, allocations: 8.375 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.3376, allocations: 133.9 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3376, allocations: 0 / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3377, allocations: 4 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3377, allocations: 8 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3378, allocations: 55.97 kB / 414.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.3386, allocations: 456.4 kB / 414.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3389, allocations: 94.55 kB / 414.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.339, allocations: 80.89 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3391, allocations: 0 / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.3395, allocations: 210.6 kB / 415 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.3395, allocations: 0 / 415 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000822/0.3403, allocations: 464 kB / 415.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.3404, allocations: 170.2 kB / 415.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.3411, allocations: 0.513 MB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3412, allocations: 29.7 kB / 416.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.3413, allocations: 113 kB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3413, allocations: 27.72 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.3414, allocations: 85.34 kB / 416.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3416, allocations: 322.8 kB / 416.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3417, allocations: 59.97 kB / 416.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3418, allocations: 69.69 kB / 416.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3422, allocations: 358.6 kB / 417.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3422, allocations: 4 kB / 417.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005446/0.3428, allocations: 372.3 kB / 417.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3429, allocations: 126.9 kB / 417.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3429, allocations: 3.938 kB / 417.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.343, allocations: 0 / 417.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.343, allocations: 7.938 kB / 417.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.343, allocations: 4 kB / 417.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3432, allocations: 11.91 kB / 417.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.3432, allocations: 39.98 kB / 417.7 MB, free: 8.664 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.0004112/0.3437, allocations: 374.2 kB / 418.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3438, allocations: 39.61 kB / 418.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3439, allocations: 63.16 kB / 418.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3439, allocations: 0 / 418.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3439, allocations: 4 kB / 418.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3439, allocations: 0 / 418.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3452, allocations: 0.8094 MB / 419 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3453, allocations: 0 / 419 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-06/0.3453, allocations: 0 / 419 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3453, allocations: 7.984 kB / 419 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.3453, allocations: 16 kB / 419 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3453, allocations: 0 / 419 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3453, allocations: 3.938 kB / 419 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.346, allocations: 0.5174 MB / 419.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.3464, allocations: 244.4 kB / 419.8 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.3464, allocations: 12 kB / 419.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3466, allocations: 15.98 kB / 419.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3467, allocations: 31.91 kB / 419.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.3468, allocations: 40.12 kB / 419.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.3472, allocations: 390.9 kB / 420.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.217e-06/0.3473, allocations: 0 / 420.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3476, allocations: 51.94 kB / 420.3 MB, free: 5.895 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.0001543/0.3477, allocations: 115 kB / 420.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.3483, allocations: 437.5 kB / 420.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3484, allocations: 3.938 kB / 420.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.3489, allocations: 381.5 kB / 421.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.3495, allocations: 125 kB / 421.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3507, allocations: 0.6537 MB / 422 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3512, allocations: 0.7944 MB / 422.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.3513, allocations: 16.7 kB / 422.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3513, allocations: 11.44 kB / 422.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3513, allocations: 4 kB / 422.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Templates: time 0.008272/0.3596, allocations: 4.517 MB / 427.3 MB, free: 14.69 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches