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.001074/0.001074, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.828/1.828, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.394, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004178/0.3983, allocations: 1.533 MB / 411.5 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.4017, allocations: 0.877 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.4018, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.402, allocations: 11.92 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.4022, allocations: 23.78 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.4026, allocations: 47.89 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.403, allocations: 151.7 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4031, allocations: 19.92 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.4039, allocations: 395.3 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.4041, allocations: 63.77 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.4042, allocations: 12 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.4043, allocations: 12 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.4044, allocations: 67.64 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.4046, allocations: 115.2 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.4051, allocations: 358.7 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4052, allocations: 0 / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4052, allocations: 4 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4052, allocations: 0 / 413.6 MB, free: 13.95 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.001129/0.4064, allocations: 0.7199 MB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4064, allocations: 8.031 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4065, allocations: 40.56 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.407, allocations: 274.3 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.4071, allocations: 8.375 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.4071, allocations: 4.375 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.4076, allocations: 129.9 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4076, allocations: 0 / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.4077, allocations: 4 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4077, allocations: 0 / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.408, allocations: 59.95 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4091, allocations: 468.4 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.4095, allocations: 98.53 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.4098, allocations: 76.89 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4098, allocations: 4 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.4103, allocations: 214.5 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/0.4104, allocations: 0 / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001389/0.4118, allocations: 471.7 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4119, allocations: 166.2 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.413, allocations: 0.513 MB / 416.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.4131, allocations: 29.7 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.4132, allocations: 105 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.4133, allocations: 27.66 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.4135, allocations: 81.41 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4137, allocations: 330.8 kB / 417.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4139, allocations: 55.97 kB / 417.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4142, allocations: 73.73 kB / 417.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.4147, allocations: 347.2 kB / 417.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4148, allocations: 0 / 417.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009826/0.4158, allocations: 376.3 kB / 418.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.4159, allocations: 126.8 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4159, allocations: 0 / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.416, allocations: 4.125 kB / 418.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.416, allocations: 8 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4161, allocations: 3.938 kB / 418.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.4163, allocations: 15.89 kB / 418.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.4164, allocations: 40 kB / 418.4 MB, free: 8.719 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.0005356/0.417, allocations: 366.2 kB / 418.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.4171, allocations: 35.62 kB / 418.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4173, allocations: 75.12 kB / 418.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4173, allocations: 0 / 418.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4173, allocations: 0 / 418.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4173, allocations: 0 / 418.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.4191, allocations: 0.8017 MB / 419.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4191, allocations: 0 / 419.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.4191, allocations: 3.938 kB / 419.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4192, allocations: 4 kB / 419.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.4192, allocations: 15.98 kB / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4192, allocations: 0 / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4193, allocations: 7.938 kB / 419.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4204, allocations: 0.5247 MB / 420.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.4209, allocations: 248.4 kB / 420.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.421, allocations: 12 kB / 420.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.4212, allocations: 11.98 kB / 420.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4214, allocations: 23.92 kB / 420.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.4215, allocations: 47.92 kB / 420.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.4222, allocations: 386.9 kB / 420.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4222, allocations: 7.875 kB / 420.9 MB, free: 6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000448/0.4226, allocations: 44 kB / 421 MB, free: 5.957 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.0001912/0.4228, allocations: 127.1 kB / 421.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007132/0.4236, allocations: 433.5 kB / 421.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4236, allocations: 0 / 421.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.424, allocations: 373.6 kB / 421.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.425, allocations: 133.5 kB / 422 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4265, allocations: 0.6944 MB / 422.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.4271, allocations: 0.8061 MB / 423.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.4272, allocations: 11.44 kB / 423.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4272, allocations: 0 / 423.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Templates: time 0.005681/0.4329, allocations: 2.588 MB / 426.1 MB, free: 0.6328 MB / 334.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/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