Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108.2 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2367, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002351/0.2391, allocations: 1.513 MB / 402.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2408, allocations: 0.8442 MB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.2408, allocations: 0 / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.675e-05/0.2409, allocations: 11.92 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.241, allocations: 23.78 kB / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2412, allocations: 51.89 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2414, allocations: 155.7 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.2415, allocations: 27.95 kB / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.2419, allocations: 391.3 kB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2421, allocations: 67.77 kB / 404.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.2421, allocations: 8 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.345e-05/0.2421, allocations: 12 kB / 404.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.2422, allocations: 59.7 kB / 404.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2423, allocations: 119.2 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.2426, allocations: 366.7 kB / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2427, allocations: 0 / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2427, allocations: 0 / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.2427, allocations: 4 kB / 405 MB, free: 5.211 MB / 318.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.000686/0.2434, allocations: 0.716 MB / 405.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2434, allocations: 12.03 kB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.2435, allocations: 32.56 kB / 405.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2438, allocations: 282.2 kB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2438, allocations: 4.375 kB / 406.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.2438, allocations: 12.31 kB / 406.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.2441, allocations: 132.7 kB / 406.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2441, allocations: 0 / 406.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.2442, allocations: 4 kB / 406.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2442, allocations: 0 / 406.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2443, allocations: 59.95 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.245, allocations: 464.4 kB / 406.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.2452, allocations: 98.53 kB / 406.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2453, allocations: 80.89 kB / 406.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2453, allocations: 0 / 406.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.2457, allocations: 210.6 kB / 407.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2457, allocations: 0 / 407.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007725/0.2465, allocations: 464 kB / 407.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.2466, allocations: 166.2 kB / 407.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.2472, allocations: 0.5169 MB / 408.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2472, allocations: 29.7 kB / 408.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2473, allocations: 109 kB / 408.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2473, allocations: 23.72 kB / 408.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2474, allocations: 81.42 kB / 408.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2475, allocations: 326.8 kB / 408.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2477, allocations: 60.03 kB / 408.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.2478, allocations: 77.61 kB / 408.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2481, allocations: 345.4 kB / 409.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2481, allocations: 0 / 409.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004884/0.2486, allocations: 372.3 kB / 409.6 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.2487, allocations: 126.8 kB / 409.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2487, allocations: 0 / 409.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2487, allocations: 0 / 409.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.495e-05/0.2488, allocations: 4 kB / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2488, allocations: 3.938 kB / 409.8 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2489, allocations: 19.89 kB / 409.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.249, allocations: 44.09 kB / 409.8 MB, free: 15.99 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.0003194/0.2493, allocations: 362.2 kB / 410.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.2494, allocations: 39.62 kB / 410.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.2495, allocations: 67.14 kB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2495, allocations: 0 / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2495, allocations: 4 kB / 410.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2498, allocations: 244.4 kB / 410.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.2499, allocations: 4 kB / 410.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.25, allocations: 23.91 kB / 410.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.2501, allocations: 19.98 kB / 410.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000676/0.2508, allocations: 0.6926 MB / 411.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006184/0.2514, allocations: 0.6083 MB / 411.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001953/0.2516, allocations: 148 kB / 412 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004259/0.252, allocations: 386.9 kB / 412.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.252, allocations: 0 / 412.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.2527, allocations: 447.9 kB / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.001273/0.254, allocations: 1.334 MB / 414.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Templates: time 0.006156/0.2601, allocations: 3.941 MB / 418.1 MB, free: 7.359 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches