Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 227.7 MB / 247.7 MB, free: 10.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 60.42 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1018, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002794/0.1046, allocations: 1.528 MB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1065, allocations: 0.8864 MB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.1066, allocations: 0 / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.459e-05/0.1067, allocations: 11.86 kB / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.1068, allocations: 15.86 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1071, allocations: 59.86 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1073, allocations: 147.7 kB / 361.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.1074, allocations: 15.98 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.1078, allocations: 383.3 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.108, allocations: 67.75 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.108, allocations: 8 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.1081, allocations: 12 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.1082, allocations: 63.7 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1083, allocations: 115.2 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1087, allocations: 354.8 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1087, allocations: 0 / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.247e-06/0.1087, allocations: 4 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1087, allocations: 0 / 362.1 MB, free: 10.26 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.0007845/0.1095, allocations: 0.7191 MB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1095, allocations: 12.03 kB / 362.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.1096, allocations: 40.47 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1099, allocations: 274.3 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.11, allocations: 8.375 kB / 363.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.11, allocations: 4.375 kB / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.1103, allocations: 137.8 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1104, allocations: 0 / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1104, allocations: 4 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1104, allocations: 0 / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1105, allocations: 55.97 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.1113, allocations: 464.5 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1115, allocations: 98.48 kB / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1116, allocations: 80.89 kB / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.1117, allocations: 0 / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.112, allocations: 202.7 kB / 364.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1121, allocations: 3.938 kB / 364.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008286/0.1129, allocations: 472 kB / 364.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.113, allocations: 166.2 kB / 364.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.1137, allocations: 0.5246 MB / 365.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1138, allocations: 29.7 kB / 365.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.1138, allocations: 105.1 kB / 365.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1139, allocations: 27.64 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.114, allocations: 77.42 kB / 365.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1142, allocations: 326.8 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1143, allocations: 59.97 kB / 365.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1145, allocations: 73.61 kB / 366 MB, free: 6.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.1149, allocations: 339.3 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1149, allocations: 4 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006419/0.1155, allocations: 379.7 kB / 366.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/0.1156, allocations: 129.3 kB / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1156, allocations: 0 / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1157, allocations: 4 kB / 366.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.1157, allocations: 0 / 366.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1157, allocations: 0 / 366.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1158, allocations: 15.98 kB / 366.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.1159, allocations: 44.05 kB / 366.9 MB, free: 5.035 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.0003637/0.1163, allocations: 374.4 kB / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1163, allocations: 39.53 kB / 367.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1165, allocations: 63.16 kB / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1165, allocations: 0 / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1165, allocations: 0 / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1165, allocations: 0 / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1175, allocations: 0.8171 MB / 368.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1175, allocations: 0 / 368.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.1175, allocations: 8 kB / 368.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1175, allocations: 0 / 368.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1176, allocations: 12 kB / 368.2 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1176, allocations: 0 / 368.2 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.1176, allocations: 3.938 kB / 368.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.1182, allocations: 0.5213 MB / 368.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.1186, allocations: 244.4 kB / 368.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.1186, allocations: 15.98 kB / 369 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1188, allocations: 12 kB / 369 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1189, allocations: 27.91 kB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.119, allocations: 43.94 kB / 369 MB, free: 2.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005048/0.1195, allocations: 390.9 kB / 369.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1195, allocations: 0 / 369.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1198, allocations: 51.88 kB / 369.5 MB, free: 2.254 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.0001618/0.12, allocations: 115 kB / 369.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.1205, allocations: 445.5 kB / 370 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1205, allocations: 0 / 370 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.1209, allocations: 377.6 kB / 370.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.1215, allocations: 126.6 kB / 370.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1227, allocations: 0.6987 MB / 371.2 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1554/0.2781, allocations: 0.7942 MB / 372 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.2782, allocations: 18.86 kB / 372 MB, free: 19.94 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2782, allocations: 1.969 kB / 372 MB, free: 19.94 MB / 302.1 MB Notification: Performance of Templates: time 0.00597/0.2842, allocations: 2.578 MB / 374.6 MB, free: 19.77 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches