Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.768e-05, allocations: 5.547 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002464/0.002491, allocations: 1.522 MB / 275.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004089, allocations: 0.8598 MB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.004153, allocations: 0 / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.494e-05/0.004248, allocations: 7.922 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.004329, allocations: 20.42 kB / 276.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.004585, allocations: 56.44 kB / 276.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.00476, allocations: 137.6 kB / 276.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.004845, allocations: 19.91 kB / 276.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.005232, allocations: 419.2 kB / 277.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.005338, allocations: 59.8 kB / 277.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.005368, allocations: 12 kB / 277.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.005399, allocations: 9.938 kB / 277.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.005468, allocations: 63.78 kB / 277.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.005535, allocations: 55.73 kB / 277.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.005769, allocations: 259.1 kB / 277.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005771, allocations: 0 / 277.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005772, allocations: 0.5938 kB / 277.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.005778, allocations: 0 / 277.7 MB, free: 0.9531 MB / 250.7 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.000639/0.006417, allocations: 0.7979 MB / 278.5 MB, free: 96 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.00645, allocations: 8.031 kB / 278.5 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.006514, allocations: 44.7 kB / 278.5 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.006735, allocations: 226.8 kB / 278.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.006756, allocations: 4.375 kB / 278.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.006776, allocations: 12.38 kB / 278.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.00704, allocations: 233.7 kB / 279 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.007047, allocations: 192 / 279 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.007063, allocations: 4.375 kB / 279 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007071, allocations: 7.938 kB / 279 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.007165, allocations: 158.8 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.00762, allocations: 404 kB / 279.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.007762, allocations: 181.8 kB / 279.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.007857, allocations: 170.5 kB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-06/0.007863, allocations: 0 / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.00807, allocations: 314.5 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.008071, allocations: 0 / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005566/0.008628, allocations: 0.658 MB / 280.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.008699, allocations: 166.2 kB / 281 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.009163, allocations: 0.5061 MB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.009186, allocations: 29.7 kB / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.009251, allocations: 151.8 kB / 281.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.009279, allocations: 23.84 kB / 281.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.009367, allocations: 91.14 kB / 281.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004605/0.009827, allocations: 0.4962 MB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.009928, allocations: 150.8 kB / 282.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01003, allocations: 178.1 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.01021, allocations: 329 kB / 282.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01021, allocations: 3.938 kB / 282.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000354/0.01056, allocations: 475 kB / 283.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.01063, allocations: 126.8 kB / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01063, allocations: 0 / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.01064, allocations: 0 / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.01066, allocations: 0 / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.01066, allocations: 4 kB / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.01076, allocations: 16.02 kB / 283.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.01079, allocations: 40 kB / 283.6 MB, free: 10.37 MB / 266.7 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.0002456/0.01104, allocations: 393.4 kB / 284 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.01109, allocations: 51.7 kB / 284 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.743e-05/0.01117, allocations: 51.09 kB / 284.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01117, allocations: 0 / 284.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01117, allocations: 4 kB / 284.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01117, allocations: 0 / 284.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.01179, allocations: 0.8465 MB / 284.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01179, allocations: 0 / 284.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.0118, allocations: 7.938 kB / 284.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.0118, allocations: 0 / 284.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01182, allocations: 12 kB / 284.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01182, allocations: 0 / 284.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01182, allocations: 3.984 kB / 285 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.01223, allocations: 0.673 MB / 285.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.01246, allocations: 189.3 kB / 285.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.01249, allocations: 12 kB / 285.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.01258, allocations: 11.98 kB / 285.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.01264, allocations: 19.98 kB / 285.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.01268, allocations: 51.88 kB / 285.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.01289, allocations: 306.9 kB / 286.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01289, allocations: 0 / 286.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.0131, allocations: 40 kB / 286.2 MB, free: 7.543 MB / 266.7 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.0001105/0.01321, allocations: 111 kB / 286.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.01355, allocations: 0.5769 MB / 286.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01355, allocations: 0 / 286.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.01373, allocations: 408.1 kB / 287.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.0141, allocations: 146.8 kB / 287.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007242/0.01483, allocations: 0.7373 MB / 288.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.0149, allocations: 103.1 kB / 288.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.01494, allocations: 12.7 kB / 288.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.01518, allocations: 178.1 kB / 288.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01519, allocations: 0 / 288.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of Templates: time 0.005734/0.02092, allocations: 4.596 MB / 293.1 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.837753335945308]