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.001001/0.001001, allocations: 114.3 kB / 18.46 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.001061/0.001061, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2293, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00237/0.2317, allocations: 1.521 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2335, allocations: 0.8848 MB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.2335, allocations: 4 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.2336, allocations: 3.938 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.2337, allocations: 27.78 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.234, allocations: 51.52 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2342, allocations: 159.7 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.2343, allocations: 19.98 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.2348, allocations: 391.3 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.235, allocations: 63.77 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.235, allocations: 12 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.2351, allocations: 12 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.2352, allocations: 75.62 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2353, allocations: 111.2 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.2356, allocations: 358.7 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2356, allocations: 0 / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2356, allocations: 0 / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.2356, allocations: 0 / 413.6 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.0007386/0.2364, allocations: 0.7238 MB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2364, allocations: 8.031 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.2365, allocations: 36.56 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.2368, allocations: 278.3 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2368, allocations: 8.375 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.2369, allocations: 12.38 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2371, allocations: 125.9 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2372, allocations: 0 / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2372, allocations: 4 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2372, allocations: 0 / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2373, allocations: 55.97 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.238, allocations: 468.4 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.2382, allocations: 94.55 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2384, allocations: 80.89 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.2384, allocations: 0 / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.2387, allocations: 202.6 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2387, allocations: 4 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007435/0.2394, allocations: 468 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.2395, allocations: 170.2 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.2401, allocations: 0.5091 MB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2402, allocations: 29.7 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2402, allocations: 112.9 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.2403, allocations: 23.72 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2404, allocations: 81.41 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2405, allocations: 330.8 kB / 417.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2407, allocations: 59.97 kB / 417.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2408, allocations: 73.62 kB / 417.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.2411, allocations: 343.2 kB / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2411, allocations: 0 / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005027/0.2416, allocations: 376 kB / 418.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.575e-05/0.2417, allocations: 126.9 kB / 418.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2417, allocations: 7.969 kB / 418.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2418, allocations: 4 kB / 418.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.2418, allocations: 4.109 kB / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2418, allocations: 7.938 kB / 418.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.2419, allocations: 11.91 kB / 418.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.242, allocations: 43.98 kB / 418.4 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.0003224/0.2423, allocations: 374.2 kB / 418.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.2424, allocations: 35.62 kB / 418.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.2425, allocations: 71.14 kB / 418.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2425, allocations: 0 / 418.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2425, allocations: 0 / 418.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.2428, allocations: 244.4 kB / 419.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.2429, allocations: 12 kB / 419.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.243, allocations: 15.92 kB / 419.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.2431, allocations: 19.97 kB / 419.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006557/0.2438, allocations: 0.6926 MB / 419.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006234/0.2444, allocations: 0.591 MB / 420.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001873/0.2446, allocations: 148 kB / 420.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.245, allocations: 386.9 kB / 421 MB, free: 5.926 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.245, allocations: 0 / 421 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.2457, allocations: 459.9 kB / 421.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of SimCode: time 0.001336/0.2471, allocations: 1.323 MB / 422.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of Templates: time 0.00667/0.2537, allocations: 3.949 MB / 426.7 MB, free: 24 kB / 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